diff --git a/src/modules/lite/explorer/components/Choices.tsx b/src/modules/lite/explorer/components/Choices.tsx index 8a073525..be0b7582 100644 --- a/src/modules/lite/explorer/components/Choices.tsx +++ b/src/modules/lite/explorer/components/Choices.tsx @@ -193,7 +193,7 @@ export const Choices: React.FC = ({ choices, submitForm, isLoading, votingS {!isLoading ? ( - Create Proposal + {canCreateProposal ? "Create Proposal" : "No Voting Weight"} ) : ( diff --git a/src/modules/lite/explorer/pages/ProposalDetails/index.tsx b/src/modules/lite/explorer/pages/ProposalDetails/index.tsx index af96a785..60fbb9e9 100644 --- a/src/modules/lite/explorer/pages/ProposalDetails/index.tsx +++ b/src/modules/lite/explorer/pages/ProposalDetails/index.tsx @@ -165,7 +165,7 @@ export const ProposalDetails: React.FC<{ id: string }> = ({ id }) => { color="secondary" onClick={() => saveVote()} > - Cast your vote + {voteWeight?.gt(new BigNumber(0)) ? "Cast your vote" : "No Voting Weight"} ) : null}