From c2a405a9e1c179d129cb7b1ac7a4835757e2f366 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Sun, 2 Aug 2026 12:54:19 +0800 Subject: [PATCH] fix dashboard monero infinite loading loop --- apps/desktop/src/routes/index.svelte | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/apps/desktop/src/routes/index.svelte b/apps/desktop/src/routes/index.svelte index 9ddc0f1..1cbfb54 100644 --- a/apps/desktop/src/routes/index.svelte +++ b/apps/desktop/src/routes/index.svelte @@ -123,17 +123,6 @@ } }) - $effect(() => { - if ( - moneroWallet.ready && - !moneroWallet.walletOpen && - !moneroWallet.opening && - !moneroWallet.passwordRequired - ) { - moneroWallet.login() - } - }) - $effect(() => { if (typeof window !== 'undefined') { const handler = (event: ErrorEvent) => { @@ -263,15 +252,12 @@ {/if} {:else if moneroWallet.passwordRequired && moneroWallet.wallets.length > 0}

Wallet locked — unlock to view balance

- {:else if moneroWallet.wallets.length > 0} -
- -

Opening wallet...

-
{:else if moneroWallet.opening}
-

Starting wallet server...

+

+ {moneroWallet.wallets.length > 0 ? 'Opening wallet...' : 'Starting wallet server...'} +

{:else if moneroWallet.error}
@@ -284,6 +270,11 @@ Retry
+ {:else if moneroWallet.wallets.length > 0} +
+ +

Opening wallet...

+
{:else if loadingXmr}
{:else}