aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Account.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-03 13:46:15 -0800
committerAdam Soltys <[email protected]>2026-02-11 15:34:01 -0800
commit918f4b29bc66be343914fd4c9284375825c57fdf (patch)
tree68f1b93ee8f1d60400988fd71231295ca886bad6 /src/components/Account.svelte
parent44f09f89eb8f69dbb9bba76e0a55125093e7ecc0 (diff)
downloadcoinos-ui-918f4b29bc66be343914fd4c9284375825c57fdf.tar.gz
coinos-ui-918f4b29bc66be343914fd4c9284375825c57fdf.zip
cleanup
Diffstat (limited to 'src/components/Account.svelte')
-rw-r--r--src/components/Account.svelte4
1 files changed, 2 insertions, 2 deletions
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) {