From 1e4659db19bd7d57ce951edf934489f9de0fa560 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Tue, 25 Feb 2020 22:27:02 +0000 Subject: [PATCH] bugfix: route params not populated correctly --- packages/client/src/render/screenRouter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/render/screenRouter.js b/packages/client/src/render/screenRouter.js index 58db7e982a..992b4e2ff3 100644 --- a/packages/client/src/render/screenRouter.js +++ b/packages/client/src/render/screenRouter.js @@ -41,7 +41,7 @@ export const screenRouter = (screens, onScreenSelected, appRootPath) => { } const storeInitial = {} - storeInitial["##routeParams"] + storeInitial["##routeParams"] = params const store = writable(storeInitial) if (current !== -1) {