diff options
| author | Adam Soltys <[email protected]> | 2024-11-07 21:16:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-08 09:27:40 -0800 |
| commit | 32fcc461cd43c8907df5e306d520bb671307eab1 (patch) | |
| tree | 0253780c569998b6c1a5f43026586e94916c3fee /src/routes/(app)/account/seed | |
| parent | be5aa52cea1d57c875cfb22d25c6a866b8de2239 (diff) | |
| download | coinos-ui-32fcc461cd43c8907df5e306d520bb671307eab1.tar.gz coinos-ui-32fcc461cd43c8907df5e306d520bb671307eab1.zip | |
svelte 5
Diffstat (limited to 'src/routes/(app)/account/seed')
| -rw-r--r-- | src/routes/(app)/account/seed/+page.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/account/seed/+page.svelte b/src/routes/(app)/account/seed/+page.svelte index 5d828369..b3e7d57c 100644 --- a/src/routes/(app)/account/seed/+page.svelte +++ b/src/routes/(app)/account/seed/+page.svelte @@ -9,7 +9,7 @@ import { generateMnemonic } from "@scure/bip39"; import { wordlist } from "@scure/bip39/wordlists/english"; - export let data; + let { data } = $props(); let { user } = data; onMount(async () => { @@ -36,7 +36,7 @@ <button type="button" class="flex gap-2 text-center break-all rounded-2xl hover:opacity-80 py-3 px-4 w-full mx-auto justify-center border whitespace-nowrap mb-2" - on:click={generate} + onclick={generate} > <Icon icon="random" style="w-8 my-auto" /> <div class="my-auto">{$t("accounts.regenerate")}</div> @@ -45,7 +45,7 @@ <button type="button" class="flex gap-2 text-center break-all rounded-2xl hover:opacity-80 py-3 px-4 w-full mx-auto justify-center border whitespace-nowrap mb-2" - on:click={() => copy($mnemonic)} + onclick={() => copy($mnemonic)} > <Icon icon="copy" style="w-8 my-auto" /> <div class="my-auto"> |
