aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Account.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Account.svelte')
-rw-r--r--src/components/Account.svelte6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte
index ab24f56a..d52c4f52 100644
--- a/src/components/Account.svelte
+++ b/src/components/Account.svelte
@@ -9,10 +9,10 @@
$: type = seed ? "Savings" : "Cash";
$: refresh(account);
- let refresh = (a) => ({ seed, balance, id } = a)
+ let refresh = (a) => ({ seed, balance, id } = a);
- let setAccount = () =>
- document.cookie = `account=${id}; path=/; max-age=86400`;
+ let setAccount = () =>
+ (document.cookie = `account=${id}; path=/; max-age=86400`);
</script>
<a href={`/payments`} class="block" on:click={setAccount}>