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.
2 parents 04acf2b + 5dc28c6 commit f88cf6eCopy full SHA for f88cf6e
src/Router/index.js
@@ -252,7 +252,7 @@ const handleHashChange = async override => {
252
let result = await beforeEachRoute(getActiveHash(), request)
253
254
// test if a local hook is configured for the route
255
- if (route.beforeNavigate) {
+ if (result && route.beforeNavigate) {
256
result = await route.beforeNavigate(getActiveHash(), request)
257
}
258
0 commit comments