Skip to content

Commit 90d4832

Browse files
committed
add location.key
fixes #3956
1 parent 812f60e commit 90d4832

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/LocationUtils.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ export const createRouterLocation = (input, parseQueryString, stringifyQuery) =>
1818
state: input.state || null,
1919
query: input.query || (
2020
input.search ? parseQueryString(input.search) : null
21-
)
21+
),
22+
key: input.key
2223
}
2324
}
2425
}

0 commit comments

Comments
 (0)