From b5edf748888426a0112b3ad9a08f93f539316d3f Mon Sep 17 00:00:00 2001 From: Barukimang Date: Thu, 25 Jul 2024 11:41:20 +0300 Subject: [PATCH] removed seperate logic for multisig proposals --- src/containers/votingTerminal/infoTab.tsx | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/src/containers/votingTerminal/infoTab.tsx b/src/containers/votingTerminal/infoTab.tsx index d9a9b8110..4c37ffe08 100644 --- a/src/containers/votingTerminal/infoTab.tsx +++ b/src/containers/votingTerminal/infoTab.tsx @@ -49,7 +49,6 @@ const InfoTab: React.FC = ({ preciseEndDate, }) => { const {t} = useTranslation(); - const isMultisigProposal = minApproval != null && minApproval !== 0; return ( <> @@ -168,21 +167,13 @@ const InfoTab: React.FC = ({

{t('votingTerminal.endDate')}

- {isMultisigProposal ? ( -

- {t('votingTerminal.multisig.endDescription')} -

- ) : ( - <> - {endDate} - {preciseEndDate && ( -
-

- {preciseEndDate} -

-
- )} - + {endDate} + {preciseEndDate && ( +
+

+ {preciseEndDate} +

+
)}