We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
url
1 parent 79af1e3 commit c624b01Copy full SHA for c624b01
src/router.js
@@ -71,7 +71,7 @@ export const exec = (url, route, matches) => {
71
};
72
73
export function LocationProvider(props) {
74
- const [url, route] = useReducer(UPDATE, props.url || location.pathname + location.search);
+ const [url, route] = useReducer(UPDATE, location.pathname + location.search);
75
const wasPush = push === true;
76
77
const value = useMemo(() => {
0 commit comments