From 3f8f3c1e1e98ed402eae9347fa7701b874b34d2c Mon Sep 17 00:00:00 2001 From: ebedoise Date: Thu, 1 Aug 2024 16:22:03 +0200 Subject: [PATCH] use xaman account directly in poll choices --- apps/poll/src/Choices.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/poll/src/Choices.tsx b/apps/poll/src/Choices.tsx index 8be2e224..5c0798f3 100644 --- a/apps/poll/src/Choices.tsx +++ b/apps/poll/src/Choices.tsx @@ -51,14 +51,6 @@ export const Choices = () => { const handleVote = async (choiceId: string) => { console.log('alreadyVoted: ', alreadyVoted); console.log('address: ', address); - if (alreadyVoted) { - toast({ - title: 'You have already voted', - status: 'warning', - duration: 2000, - }); - return; - } if (!address) { toast({