diff --git a/apps/desktop/src/lib/components/EvmDashboard.svelte b/apps/desktop/src/lib/components/EvmDashboard.svelte index 30ed49d..2aece46 100644 --- a/apps/desktop/src/lib/components/EvmDashboard.svelte +++ b/apps/desktop/src/lib/components/EvmDashboard.svelte @@ -65,320 +65,356 @@ }) function navTarget(id: NetworkId): string { - if (id === 'eth') return '/' - return `/${id}` + if (id === 'eth') return '/multicoin' + return `/multicoin/${id}` } let initStarted = false $effect(() => { if (!initStarted) { initStarted = true - w.init().then(() => w.switchNetwork(networkId)) + w.init().then(async () => { + if (w.accountType === 'multi') { + await w.switchNetwork(networkId) + } + }) } }) {#if !w.ready} -{:else if !w.vaultExists} - - - Import Wallet - - Enter your seed phrase to save it securely in your system keychain - - - -
-