From 8678328f7636d7c0192135faef448dfcbd5b3c8f Mon Sep 17 00:00:00 2001 From: hemanthghs Date: Thu, 19 Oct 2023 17:06:56 +0530 Subject: [PATCH 1/2] fix: fix add delegate txn in multisig --- frontend/src/pages/multisig/tx/PageCreateTx.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/multisig/tx/PageCreateTx.jsx b/frontend/src/pages/multisig/tx/PageCreateTx.jsx index 865e2a65d..94a77b0a8 100644 --- a/frontend/src/pages/multisig/tx/PageCreateTx.jsx +++ b/frontend/src/pages/multisig/tx/PageCreateTx.jsx @@ -798,7 +798,7 @@ export const RenderDelegateMessage = (message, index, currency, onDelete) => { {parseBalance( - [message.value.amount[0]], + [message.value.amount], currency.coinDecimals, currency.coinMinimalDenom )} From 8efe3e1acc3f653fec4c7685ec51d4ba68a7ba0b Mon Sep 17 00:00:00 2001 From: hemanthghs Date: Thu, 19 Oct 2023 17:18:52 +0530 Subject: [PATCH 2/2] fix --- frontend/src/components/multisig/bulk/UnDelegateForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/multisig/bulk/UnDelegateForm.jsx b/frontend/src/components/multisig/bulk/UnDelegateForm.jsx index 0a1132b0e..439164e3e 100644 --- a/frontend/src/components/multisig/bulk/UnDelegateForm.jsx +++ b/frontend/src/components/multisig/bulk/UnDelegateForm.jsx @@ -49,7 +49,7 @@ export default function UnDelegateForm(props) { useEffect(() => { const data = []; - for (let i = 0; i < delegations.length; i++) { + for (let i = 0; i < delegations?.length; i++) { if (validators.active[delegations[i].delegation.validator_address]) { const temp = { label: