Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
polamoros committed Aug 11, 2023
1 parent f51ec36 commit a25ae0a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions website/src/components/VoteItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,12 @@ export const VoteItem = ({
</div>

<div className="pt-6">
{!winner && (
<Button
onClick={onClick}
label="Vote"
loading={loading}
disabled={disabled}
/>
)}
<Button
onClick={onClick}
label="Vote"
loading={loading}
disabled={disabled || winner !== undefined}
/>
</div>
</div>
);
Expand Down

0 comments on commit a25ae0a

Please sign in to comment.