Skip to content

Commit 120bf8f

Browse files
Merge pull request #1095 from ionicprotocol/feat/fix-reset
Update button disable logic in VotesManagementFooter component
2 parents ebafc97 + 6c4656e commit 120bf8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ui/components/veion/VotesManagementFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function VotesManagementFooter({ tokenId }: VotesManagementFooterProps) {
157157
<button
158158
onClick={handleFullReset}
159159
className="px-4 py-2 text-sm text-white/60 hover:text-white/80 transition-colors border border-white/20 rounded-lg disabled:opacity-50 disabled:cursor-not-allowed"
160-
disabled={!hasVotes || isVoting}
160+
disabled={isVoting}
161161
>
162162
Reset
163163
</button>

0 commit comments

Comments
 (0)