split balance and tx loading into independent processes

This commit is contained in:
2026-05-21 17:22:09 +08:00
parent 8f3495ab40
commit 85c25883c6
2 changed files with 33 additions and 23 deletions
@@ -332,7 +332,12 @@
</div>
{/if}
{#if w.error}
{#if w.loadingBalance && w.address}
<div class="flex justify-center py-4">
<Loader />
</div>
{/if}
{#if w.error}
<p class="mb-3 text-red-500">{w.error}</p>
{/if}
@@ -371,7 +376,7 @@
<CardTitle>Transactions</CardTitle>
</CardHeader>
<CardContent>
{#if w.loading}
{#if w.loadingTransactions}
<div class="flex justify-center py-4">
<Loader />
</div>