From da643b224d1426da10443aaf6ee179f9354c0369 Mon Sep 17 00:00:00 2001 From: Megha-Dev-19 Date: Fri, 23 Feb 2024 19:07:25 +0530 Subject: [PATCH] fix text super proposal type consent --- apps/astraplusplus/widget/DAO/Proposals/Card/index.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/astraplusplus/widget/DAO/Proposals/Card/index.jsx b/apps/astraplusplus/widget/DAO/Proposals/Card/index.jsx index a755e0d..dd6dda6 100644 --- a/apps/astraplusplus/widget/DAO/Proposals/Card/index.jsx +++ b/apps/astraplusplus/widget/DAO/Proposals/Card/index.jsx @@ -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;