Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrila committed Oct 18, 2023
1 parent c7d6f47 commit a828bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Proposals/ProposalActions/CastVote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ function Vote({
if (isSnapshotProposal && extendedSnapshotProposal) {
return (
<>
{extendedSnapshotProposal.choices.map(choice => (
{extendedSnapshotProposal.choices.map((choice, i) => (
<Button
key={choice}
width="full"
isDisabled={disabled}
onClick={() => castSnapshotVote(choice)}
onClick={() => castSnapshotVote(i + 1)}
marginTop={5}
>
{choice}
Expand Down

0 comments on commit a828bc5

Please sign in to comment.