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) => { /> )}