From e7d78657504bd932bdc45bc58054d63093e6e8ab Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 30 Nov 2020 10:40:39 +0000 Subject: [PATCH] fix(core): update --- ts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/index.ts b/ts/index.ts index b36ca4c..4d4bce3 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -86,7 +86,7 @@ export class SmartRouter { for (const wantedRoute of wantedRoutes) { const routeResult = wantedRoute.matchFunction(currentLocation); - await wantedRoute.handler(routeResult.valueOf() as IRouteInfo); + wantedRoute.handler(routeResult.valueOf() as IRouteInfo); // not waiting here } } }