You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`The "next" callback was called more than once in one navigation guard when going from "${from.fullPath}" to "${to.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`
222
+
`The "next" callback was called more than once in one navigation guard when going from "${from.fullPath}" to "${to.fullPath}${showInfo}". It should be called exactly one time in each navigation guard. This will fail in production.`
224
223
)
224
+
}
225
225
// @ts-expect-error: we put it in the original one because it's easier to check
226
226
next._called=true
227
227
if(called===1)next.apply(null,argumentsasany)
@@ -235,6 +235,7 @@ export function extractComponentsGuards(
235
235
guardType: GuardType,
236
236
to: RouteLocationNormalized,
237
237
from: RouteLocationNormalizedLoaded,
238
+
info?: NavigationInformation,
238
239
runWithContext: <T>(fn: ()=>T)=>T=fn=>fn()
239
240
){
240
241
constguards: Array<()=>Promise<void>>=[]
@@ -298,7 +299,12 @@ export function extractComponentsGuards(
0 commit comments