diff --git a/package-lock.json b/package-lock.json index 69994675e4..bd67e733b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "decent-interface", - "version": "0.2.5", + "version": "0.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "decent-interface", - "version": "0.2.5", + "version": "0.2.6", "hasInstallScript": true, "dependencies": { "@apollo/client": "^3.7.10", diff --git a/package.json b/package.json index 271316712c..63dff94b5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "decent-interface", - "version": "0.2.5", + "version": "0.2.6", "private": true, "dependencies": { "@apollo/client": "^3.7.10", diff --git a/src/components/Proposals/ProposalActions/CastVote.tsx b/src/components/Proposals/ProposalActions/CastVote.tsx index d3496fc39e..762d1030b0 100644 --- a/src/components/Proposals/ProposalActions/CastVote.tsx +++ b/src/components/Proposals/ProposalActions/CastVote.tsx @@ -209,7 +209,7 @@ function Vote({ height="auto" width="full" isDisabled={disabled} - onClick={() => selectedVoteChoice && castVote(selectedVoteChoice)} + onClick={() => selectedVoteChoice !== undefined && castVote(selectedVoteChoice)} > {t('vote')}