Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya Smiyukha committed Aug 11, 2023
1 parent b9973ae commit 1eb4082
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 1eb4082

Please sign in to comment.