From dfe68ccb89ded6ee7a74e3e69f2f415d668a495b Mon Sep 17 00:00:00 2001 From: abefernan <44572727+abefernan@users.noreply.github.com> Date: Mon, 24 Apr 2023 22:42:21 +0200 Subject: [PATCH] Add conditional rendering for null accountOnChain --- pages/multi/[address]/index.tsx | 78 ++++++++++++++++++--------------- 1 file changed, 43 insertions(+), 35 deletions(-) diff --git a/pages/multi/[address]/index.tsx b/pages/multi/[address]/index.tsx index 6fb70a9..fe3d233 100644 --- a/pages/multi/[address]/index.tsx +++ b/pages/multi/[address]/index.tsx @@ -111,35 +111,35 @@ const Multipage = () => { )} - {txView === "send" && ( + {txView === "send" && accountOnChain && ( )} - {txView === "delegate" && ( + {txView === "delegate" && accountOnChain && ( )} - {txView === "undelegate" && ( + {txView === "undelegate" && accountOnChain && ( )} - {txView === "redelegate" && ( + {txView === "redelegate" && accountOnChain && ( )} - {txView === "claimRewards" && ( + {txView === "claimRewards" && accountOnChain && ( { Once a transaction is created, it can be signed by the multisig members, and then broadcast.

-