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 | 081538cc6a6c49c8b2eb34d682c880e40876d99b (patch) | |
| tree | b9818bea3cb2ff4d6116df9476215fca90aa12b3 /src/components/Account.svelte | |
| parent | 8e990dae9fb39af9deb05a544fad688dcda8e2e8 (diff) | |
| download | coinos-ui-081538cc6a6c49c8b2eb34d682c880e40876d99b.tar.gz coinos-ui-081538cc6a6c49c8b2eb34d682c880e40876d99b.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}> |
