diff options
| author | Adam Soltys <[email protected]> | 2025-06-23 08:52:33 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-06-23 08:52:33 -0700 |
| commit | 27378aff4530b9c961a4347a45789c876f736d45 (patch) | |
| tree | 9fe4ef9ccfceb43d58fd3bf1ca00becd923a717a /src/components | |
| parent | 6a5f3e52bf21c72b9a45dd1247e4032e71254bf2 (diff) | |
| download | coinos-ui-27378aff4530b9c961a4347a45789c876f736d45.tar.gz coinos-ui-27378aff4530b9c961a4347a45789c876f736d45.zip | |
rm unused code
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Nostr.svelte | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/components/Nostr.svelte b/src/components/Nostr.svelte index ad70cd31..a616194b 100644 --- a/src/components/Nostr.svelte +++ b/src/components/Nostr.svelte @@ -13,7 +13,6 @@ getPublicKey, } from "nostr-tools"; import { getConversationKey, decrypt } from "nostr-tools/nip44"; - import { AmberClipboardSigner } from "applesauce-signer"; import { copy, focus, fail, post } from "$lib/utils"; import { eventToSign, signer } from "$lib/store"; @@ -105,14 +104,6 @@ $signer = { method: "extension", ready: true }; }; - let signerGetPubkey = async () => { - const pubkey = await new AmberClipboardSigner().getPublicKey(); - $signer = { - method: "signer", - params: { pubkey }, - }; - }; - let signerSign = async () => { document.addEventListener("focus", signerSigned, true); }; |
