diff options
Diffstat (limited to 'src/routes/(app)/+layout.svelte')
| -rw-r--r-- | src/routes/(app)/+layout.svelte | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 346cc93e..6ac9bed5 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -24,12 +24,7 @@ import Password from "$comp/Password.svelte"; import { s, f, toFiat, success, getCookie, warning } from "$lib/utils"; import { t, locale, loading } from "$lib/translations"; - import { - goto, - invalidate, - afterNavigate, - preloadData, - } from "$app/navigation"; + import { goto, invalidate, afterNavigate, preloadData } from "$app/navigation"; let { data, children } = $props(); @@ -63,9 +58,7 @@ if (result?.received > 0) { if ($fiat && $rateStore && user?.currency) { - success( - `Received ${f(toFiat(result.received, $rateStore), user.currency)}!`, - ); + success(`Received ${f(toFiat(result.received, $rateStore), user.currency)}!`); } else { success(`Received ⚡️${s(result.received)}!`); } |
