From 2462dce25a1daafb238db30c51ccfd86cdb9f5a4 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sat, 23 Nov 2024 20:28:35 +0200 Subject: [PATCH] Add setting balanceRef for card page to be "" after adding/updating card --- src/routes/card/+page.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/routes/card/+page.svelte b/src/routes/card/+page.svelte index 9d8e403..6a5d44e 100644 --- a/src/routes/card/+page.svelte +++ b/src/routes/card/+page.svelte @@ -64,6 +64,9 @@ name: "", }; } + if (balanceRef) { + balanceRef.value = ""; + } } }