From 77ea4aac6c70592ba62dc1d327774227acf739df Mon Sep 17 00:00:00 2001 From: abefernan <44572727+abefernan@users.noreply.github.com> Date: Tue, 11 Jun 2024 07:43:41 +0200 Subject: [PATCH] Add tweaks --- .../TxMsgUpdateAdminDetails.tsx | 4 +- .../MsgForm/MsgUpdateAdminForm.tsx | 91 ++++++++++--------- .../forms/CreateTxForm/MsgForm/index.tsx | 2 +- components/forms/CreateTxForm/index.tsx | 5 +- lib/txMsgHelpers.ts | 3 +- types/txMsg.ts | 2 +- 6 files changed, 57 insertions(+), 50 deletions(-) diff --git a/components/dataViews/TransactionInfo/TxMsgUpdateAdminDetails.tsx b/components/dataViews/TransactionInfo/TxMsgUpdateAdminDetails.tsx index 04e9e3f..9a7c1d8 100644 --- a/components/dataViews/TransactionInfo/TxMsgUpdateAdminDetails.tsx +++ b/components/dataViews/TransactionInfo/TxMsgUpdateAdminDetails.tsx @@ -19,7 +19,9 @@ const TxMsgUpdateAdminDetails = ({ msgValue }: TxMsgUpdateAdminDetailsProps) =>
  • -
    {msgValue.newAdmin.toString()}
    +
    + +
  • ); diff --git a/components/forms/CreateTxForm/MsgForm/index.tsx b/components/forms/CreateTxForm/MsgForm/index.tsx index 11da8d3..82c840a 100644 --- a/components/forms/CreateTxForm/MsgForm/index.tsx +++ b/components/forms/CreateTxForm/MsgForm/index.tsx @@ -12,7 +12,7 @@ import MsgSendForm from "./MsgSendForm"; import MsgSetWithdrawAddressForm from "./MsgSetWithdrawAddressForm"; import MsgTransferForm from "./MsgTransferForm"; import MsgUndelegateForm from "./MsgUndelegateForm"; -import MsgUpdateAdminForm from "@/components/forms/CreateTxForm/MsgForm/MsgUpdateAdminForm"; +import MsgUpdateAdminForm from "./MsgUpdateAdminForm"; interface MsgFormProps { readonly msgType: MsgTypeUrl; diff --git a/components/forms/CreateTxForm/index.tsx b/components/forms/CreateTxForm/index.tsx index c575686..10e50a4 100644 --- a/components/forms/CreateTxForm/index.tsx +++ b/components/forms/CreateTxForm/index.tsx @@ -255,7 +255,10 @@ const CreateTxForm = ({ router, senderAddress, accountOnChain }: CreateTxFormPro