Skip to content

Commit

Permalink
style(frontend): show pulsating zero when loading total balance (#2086)
Browse files Browse the repository at this point in the history
# Motivation

While it loads the total balance, a pulsating zero will be showed
(similar to what happens to the single token pages).


https://github.com/user-attachments/assets/83eb0a6e-ee2a-4ed1-b25d-09508dd2ccb3
  • Loading branch information
AntonioVentilii-DFINITY authored Aug 21, 2024
1 parent c19331c commit fc2c90a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{#if $exchangeInitialized}
{formatUSD(totalUsd)}
{:else}
​
<span class="animate-pulse">{formatUSD(0)}</span>
{/if}
</output>
</span>

0 comments on commit fc2c90a

Please sign in to comment.