From e7a64cf371c44afba2a1c92f5935e0f3640f7e0d Mon Sep 17 00:00:00 2001 From: Lee Garam Date: Sun, 2 Jun 2024 16:02:27 +0900 Subject: [PATCH] More exception handling for navbarTotalAssetTable There were some cases that navbarTotalAssetTable's balance value becamse NaN due to unpredictable reasons during asynchronous operations --- .../components/navbarTotalAssetTable.svelte | 96 ++++++++++++------- 1 file changed, 64 insertions(+), 32 deletions(-) diff --git a/frontend/src/components/navbarTotalAssetTable.svelte b/frontend/src/components/navbarTotalAssetTable.svelte index 256007a..90feb9b 100644 --- a/frontend/src/components/navbarTotalAssetTable.svelte +++ b/frontend/src/components/navbarTotalAssetTable.svelte @@ -1,4 +1,4 @@ - + @@ -59,4 +91,4 @@ class="text-gray-800 text-lg font-semibold xl" bind:this={totalAssetValueElement} > - \ No newline at end of file +