aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Amount.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 17:09:39 -0800
committerAdam Soltys <[email protected]>2026-02-11 17:09:39 -0800
commit3aa9ce1b5985397d7f568887ec6f881df13c1034 (patch)
tree2c459692dc5315e92924de6be9f0999a835e0f54 /src/components/Amount.svelte
parent8a4b0087cbfe8b43d9b43d19af6d991a646ef3d7 (diff)
downloadcoinos-ui-3aa9ce1b5985397d7f568887ec6f881df13c1034.tar.gz
coinos-ui-3aa9ce1b5985397d7f568887ec6f881df13c1034.zip
fix ts errors
Diffstat (limited to 'src/components/Amount.svelte')
-rw-r--r--src/components/Amount.svelte8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Amount.svelte b/src/components/Amount.svelte
index 4c7c487a..2587520a 100644
--- a/src/components/Amount.svelte
+++ b/src/components/Amount.svelte
@@ -2,14 +2,14 @@
import { copy, s, f, toFiat } from "$lib/utils";
import { fiat } from "$lib/store";
const {
- align,
+ align = "",
amount,
- locale,
- tip,
+ locale = undefined,
+ tip = undefined,
rate,
currency,
locked = false,
- } = $props();
+ }: any = $props();
const icon = $derived(locked ? "ph:lock-fill" : "ph:lightning-fill");
const canShowFiat = $derived($fiat && rate && currency);