router not properly matching parameterized route

This commit is contained in:
Michael Shanks 2020-02-24 14:57:34 +00:00
parent cbd33daae8
commit 6233c01f4f
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)