diff options
| author | Adam Soltys <[email protected]> | 2024-11-28 14:02:31 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-28 14:02:31 -0800 |
| commit | 67e26efeb6f0c7cc2d4dfbd91f30ff0a158991e6 (patch) | |
| tree | ffa25df2bc3a4fdb9ffaa64fa52f0567ed8a6f00 /src/components/Amount.svelte | |
| parent | 132e6003a42d2dcd39a8786648b4c652d888cd97 (diff) | |
| download | coinos-ui-67e26efeb6f0c7cc2d4dfbd91f30ff0a158991e6.tar.gz coinos-ui-67e26efeb6f0c7cc2d4dfbd91f30ff0a158991e6.zip | |
number formatting
Diffstat (limited to 'src/components/Amount.svelte')
| -rw-r--r-- | src/components/Amount.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Amount.svelte b/src/components/Amount.svelte index 46aa2d1b..035152d1 100644 --- a/src/components/Amount.svelte +++ b/src/components/Amount.svelte @@ -11,7 +11,7 @@ > <div class="flex items-center"> <iconify-icon icon="ph:lightning-fill" class="text-yellow-300" - ></iconify-icon>{s(amount)} + ></iconify-icon>{s(amount, locale)} </div> {#if tip} @@ -19,7 +19,7 @@ <div>+</div> <iconify-icon icon="ph:lightning-fill" class="text-yellow-300" ></iconify-icon> - <div>{s(tip)}</div> + <div>{s(tip, locale)}</div> </div> {/if} </h2> |
