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}"${showInfo}. It should be called exactly one time in each navigation guard. This will fail in production.`
223
+
`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
224
)
223
-
}
224
225
// @ts-expect-error: we put it in the original one because it's easier to check
225
226
next._called=true
226
227
if(called===1)next.apply(null,argumentsasany)
@@ -234,8 +235,7 @@ export function extractComponentsGuards(
234
235
guardType: GuardType,
235
236
to: RouteLocationNormalized,
236
237
from: RouteLocationNormalizedLoaded,
237
-
runWithContext: <T>(fn: ()=>T)=>T=fn=>fn(),
238
-
info?: NavigationInformation
238
+
runWithContext: <T>(fn: ()=>T)=>T=fn=>fn()
239
239
){
240
240
constguards: Array<()=>Promise<void>>=[]
241
241
@@ -298,12 +298,7 @@ export function extractComponentsGuards(
0 commit comments