router not properly matching parameterized route

This commit is contained in:
Michael Shanks 2020-02-24 14:57:34 +00:00
parent 35d5ae9ed8
commit f68ac7577e
1 changed files with 1 additions and 1 deletions

View File

@ -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)