From cf8efed36efbc492e8adddf051661c5f09e4549a Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 8 Oct 2024 20:44:45 +0530 Subject: [PATCH] debug: sync router before everything else --- app/javascript/entrypoints/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/entrypoints/dashboard.js b/app/javascript/entrypoints/dashboard.js index 7938e20eb..38a489fae 100644 --- a/app/javascript/entrypoints/dashboard.js +++ b/app/javascript/entrypoints/dashboard.js @@ -42,6 +42,7 @@ const i18n = createI18n({ messages: i18nMessages, }); +sync(store, router); const app = createApp(App); app.use(i18n); app.use(store); @@ -97,7 +98,6 @@ app.component('fluent-icon', FluentIcon); app.directive('resize', vResizeObserver); app.directive('on-clickaway', onClickaway); -sync(store, router); // load common helpers into js commonHelpers(); window.WOOT_STORE = store;