aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send/fund
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/send/fund')
-rw-r--r--src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte b/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte
index 5b4e64f2..baeb8795 100644
--- a/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte
+++ b/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte
@@ -11,7 +11,7 @@
import { invalidateAll } from "$app/navigation";
let { data, form } = $props();
- let amount = $state(data.amount);
+ let amount = $state((() => data.amount)());
let user = $derived(data.user);
let balance = $derived(user.balance);
let currency = $derived(user.currency);