Skip to content

Commit

Permalink
use xaman account directly in poll choices
Browse files Browse the repository at this point in the history
  • Loading branch information
ebedoise committed Aug 1, 2024
1 parent 7a0c1c2 commit 3f8f3c1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions apps/poll/src/Choices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 3f8f3c1

Please sign in to comment.