Browse Source

router not properly matching parameterized route

master
Michael Shanks 7 years ago
parent
commit
f68ac7577e
  1. 2
      packages/client/src/render/screenRouter.js

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

Loading…
Cancel
Save