fix(core): update
This commit is contained in:
parent
b7feb5098b
commit
e7d7865750
@ -86,7 +86,7 @@ export class SmartRouter {
|
|||||||
|
|
||||||
for (const wantedRoute of wantedRoutes) {
|
for (const wantedRoute of wantedRoutes) {
|
||||||
const routeResult = wantedRoute.matchFunction(currentLocation);
|
const routeResult = wantedRoute.matchFunction(currentLocation);
|
||||||
await wantedRoute.handler(routeResult.valueOf() as IRouteInfo);
|
wantedRoute.handler(routeResult.valueOf() as IRouteInfo); // not waiting here
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user