feat: dynamic login and registering (#3604)

This commit is contained in:
dni ⚡
2025-12-04 11:50:45 +01:00
committed by GitHub
parent 73634e5161
commit 625fa6503c
11 changed files with 49 additions and 34 deletions
+2 -1
View File
@@ -33,7 +33,8 @@ const routes = [
{
path: '/wallet',
redirect: to => {
const walletId = window.g?.lastActiveWallet || window.user?.wallets[0].id
const walletId =
window.g?.lastActiveWallet || window.g?.user?.wallets[0].id
return `/wallet/${to.query.wal || walletId || 'default'}`
}
},