diff --git a/src/components/layout/NavBar.vue b/src/components/layout/NavBar.vue index e9a21c6..c28380a 100644 --- a/src/components/layout/NavBar.vue +++ b/src/components/layout/NavBar.vue @@ -282,6 +282,12 @@ watch(() => route.path,(newPath, oldPath) => { } }) +onMounted( async () => { + if( immutableStore.accessToken) { + await new PassportWallet().connect() + } +}) +