Skip to content

Commit

Permalink
Merge pull request #62 from near-ndc/fix-text-super-consent
Browse files Browse the repository at this point in the history
Fix text super proposal type consent
  • Loading branch information
Megha-Dev-19 authored Feb 23, 2024
2 parents baa3b0c + da643b2 commit a71625a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/astraplusplus/widget/DAO/Proposals/Card/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,10 @@ const expensiveWork = () => {
}

if (isVotingBodyDao) {
if (my_proposal.typeName === "Dissolve") {
if (
my_proposal.typeName === "Dissolve" ||
my_proposal.typeName === "Text Super"
) {
totalVotesNeeded = daoConfig?.super_consent?.quorum;
} else if (my_proposal.typeName === "Pre Vote") {
totalVotesNeeded = daoConfig?.pre_vote_support;
Expand Down

0 comments on commit a71625a

Please sign in to comment.