diff options
| author | Adam Soltys <[email protected]> | 2024-09-16 06:11:45 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-17 09:19:27 -0700 |
| commit | e8b97a281c527387a09f60ed51c9056c74a5d707 (patch) | |
| tree | b9818bea3cb2ff4d6116df9476215fca90aa12b3 /src/components/Account.svelte | |
| parent | 737aca90bced07964d91c631ddd6d6cd81613129 (diff) | |
| download | coinos-ui-e8b97a281c527387a09f60ed51c9056c74a5d707.tar.gz coinos-ui-e8b97a281c527387a09f60ed51c9056c74a5d707.zip | |
account setup
Diffstat (limited to 'src/components/Account.svelte')
| -rw-r--r-- | src/components/Account.svelte | 6 |
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}> |
