From c65857979fb8ebf55d102fc4daf8d9679ebec8fe Mon Sep 17 00:00:00 2001 From: Arne Pedersen Date: Thu, 29 Dec 2022 00:17:13 +0100 Subject: [PATCH] Remove Card from send view. --- src/views/send/index.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/views/send/index.tsx b/src/views/send/index.tsx index 4f7eed3..73cc8bd 100644 --- a/src/views/send/index.tsx +++ b/src/views/send/index.tsx @@ -82,7 +82,7 @@ export const SendView = ({ keys }: SendViewProps) => { const { subs, relays } = await subscribe(keys, peerKey, processEvent) nostr.current = { subs, relays, ...keys } return () => { - nostr?.current?.subs.forEach(sub => sub.unsub()) + nostr?.current?.subs.forEach((sub) => sub.unsub()) } })() }, []) @@ -117,12 +117,10 @@ export const SendView = ({ keys }: SendViewProps) => { /> )}
- -
- - {isValidPeerKey(peerKey) && } -
-
+
+ + {isValidPeerKey(peerKey) && } +
)