diff --git a/packages/client/src/render/screenRouter.js b/packages/client/src/render/screenRouter.js index 0ca8a25cab..58db7e982a 100644 --- a/packages/client/src/render/screenRouter.js +++ b/packages/client/src/render/screenRouter.js @@ -25,7 +25,7 @@ export const screenRouter = (screens, onScreenSelected, appRootPath) => { const params = {} if (current === -1) { - routes.forEach(([p], i) => { + routes.forEach((p, i) => { const pm = regexparam(p) const matches = pm.pattern.exec(_url)