diff --git a/src/router/index.ts b/src/router/index.ts index 4426b162..7dc4a6d0 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,4 +1,4 @@ -import { useBlockchain, useDashboard } from "@/stores"; +import { useBlockchain } from "@/stores"; import { createRouter, createWebHistory } from "vue-router"; // @ts-ignore import { setupLayouts } from "virtual:generated-layouts"; @@ -18,7 +18,7 @@ router.beforeEach((to) => { if(chain !== blockchain.chainName) { blockchain.setCurrent(chain.toString()) } - } + } }) // Docs: https://router.vuejs.org/guide/advanced/navigation-guards.html#global-before-guards