From 918f4b29bc66be343914fd4c9284375825c57fdf Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 3 Feb 2026 13:46:15 -0800 Subject: cleanup --- src/components/Account.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/Account.svelte') diff --git a/src/components/Account.svelte b/src/components/Account.svelte index 7c231219..12fa8100 100644 --- a/src/components/Account.svelte +++ b/src/components/Account.svelte @@ -7,7 +7,6 @@ import Icon from "$comp/Icon.svelte"; import Balance from "$comp/Balance.svelte"; import { t } from "$lib/translations"; - import { decrypt } from "nostr-tools/nip49"; import { arkkey } from "$lib/ark"; let { user, rate, account, last } = $props(); @@ -43,7 +42,8 @@ } }; - let submitPassword = () => { + let submitPassword = async () => { + const { decrypt } = await import("nostr-tools/nip49"); $arkkey = hex.encode(decrypt(seed, password)); passwordPrompt = false; if (pendingUrl) { -- cgit v1.2.3