aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Amount.svelte
diff options
context:
space:
mode:
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);