From 6413149f6196755d7486232b2d2cad73d2bd041a Mon Sep 17 00:00:00 2001 From: abefernan <44572727+abefernan@users.noreply.github.com> Date: Wed, 14 Jun 2023 20:37:12 +0200 Subject: [PATCH] Adapt details forms --- .../TxMsgClaimRewardsDetails.tsx | 10 ++--- .../TxMsgCreateVestingAccountDetails.tsx | 24 +++++------ .../TransactionInfo/TxMsgDelegateDetails.tsx | 17 +++++--- .../TxMsgRedelegateDetails.tsx | 21 +++++---- .../TransactionInfo/TxMsgSendDetails.tsx | 12 +++--- .../TxMsgSetWithdrawAddressDetails.tsx | 10 ++--- .../TransactionInfo/TxMsgTransferDetails.tsx | 25 ++++++----- .../TxMsgUndelegateDetails.tsx | 17 +++++--- .../dataViews/TransactionInfo/index.tsx | 43 +++++++++++-------- 9 files changed, 99 insertions(+), 80 deletions(-) diff --git a/components/dataViews/TransactionInfo/TxMsgClaimRewardsDetails.tsx b/components/dataViews/TransactionInfo/TxMsgClaimRewardsDetails.tsx index 9ecdd65..5df2193 100644 --- a/components/dataViews/TransactionInfo/TxMsgClaimRewardsDetails.tsx +++ b/components/dataViews/TransactionInfo/TxMsgClaimRewardsDetails.tsx @@ -1,19 +1,19 @@ -import { TxMsgClaimRewards } from "../../../types/txMsg"; +import { MsgWithdrawDelegatorReward } from "cosmjs-types/cosmos/distribution/v1beta1/tx"; import HashView from "../HashView"; interface TxMsgClaimRewardsDetailsProps { - readonly msg: TxMsgClaimRewards; + readonly msgValue: MsgWithdrawDelegatorReward; } -const TxMsgClaimRewardsDetails = ({ msg }: TxMsgClaimRewardsDetailsProps) => ( +const TxMsgClaimRewardsDetails = ({ msgValue }: TxMsgClaimRewardsDetailsProps) => ( <>