debug: sync router before everything else

This commit is contained in:
Shivam Mishra
2024-10-08 20:44:45 +05:30
parent a8c12ffb25
commit cf8efed36e
+1 -1
View File
@@ -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;