From 1eb408224b0fedf61140dc82df43c99fbc290836 Mon Sep 17 00:00:00 2001 From: ilya Smiyukha Date: Fri, 11 Aug 2023 08:02:31 +0200 Subject: [PATCH] resolve conflicts --- .../EmailSubscriptionModal.tsx | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/ui/src/memberships/modals/EmailSubscriptionModal/EmailSubscriptionModal.tsx b/packages/ui/src/memberships/modals/EmailSubscriptionModal/EmailSubscriptionModal.tsx index 309f5e782e..6c6f37b222 100644 --- a/packages/ui/src/memberships/modals/EmailSubscriptionModal/EmailSubscriptionModal.tsx +++ b/packages/ui/src/memberships/modals/EmailSubscriptionModal/EmailSubscriptionModal.tsx @@ -64,20 +64,6 @@ export const EmailSubscriptionModal = () => { } } - const signEmail = async () => { - const timestamp = Date.now() - try { - const signature = await wallet?.signer.signPayload({ - address: member.controllerAccount, - data: `${member.id}:${timestamp}`, - }) - if (signature) { - send('SIGNED', { signature: signature.signature, timestamp }) - } - } catch (error) { - send('CANCEL') - } - } useEffect(() => { if (state.matches('signature')) {