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.
1 parent 0a6f801 commit 5aab8f5Copy full SHA for 5aab8f5
src/browser-router.tsx
@@ -33,7 +33,7 @@ export default class BrowserRouter extends Router {
33
};
34
}
35
async navigate(path, state = {}, ctx = new Context(), force = false) {
36
- const currentPath = window.location.pathname + window.location.search;
+ const currentPath = window.location.pathname + window.location.search + window.location.hash;
37
38
if(force || path !== currentPath) {
39
// if (this.router.isRunning) this.router.cancel(false);
0 commit comments