Browse Source

bugfix: route params not populated correctly

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

2
packages/client/src/render/screenRouter.js

@ -41,7 +41,7 @@ export const screenRouter = (screens, onScreenSelected, appRootPath) => {
} }
const storeInitial = {} const storeInitial = {}
storeInitial["##routeParams"] storeInitial["##routeParams"] = params
const store = writable(storeInitial) const store = writable(storeInitial)
if (current !== -1) { if (current !== -1) {

Loading…
Cancel
Save