From 49bb049cfb96cd8d47b05720c1b80a55cc1e34b9 Mon Sep 17 00:00:00 2001 From: Sergey Zhuravlev Date: Fri, 8 Nov 2024 15:00:41 +0300 Subject: [PATCH] fix: operation details wallet layout (#2603) --- .../pages/Operations/components/Details.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/renderer/pages/Operations/components/Details.tsx b/src/renderer/pages/Operations/components/Details.tsx index 7b598798a..b861dff1e 100644 --- a/src/renderer/pages/Operations/components/Details.tsx +++ b/src/renderer/pages/Operations/components/Details.tsx @@ -15,7 +15,8 @@ import { useI18n } from '@/shared/i18n'; import { useToggle } from '@/shared/lib/hooks'; import { cnTw, toAccountId } from '@/shared/lib/utils'; import { CaptionText, DetailRow, FootnoteText, Icon } from '@/shared/ui'; -import { Skeleton } from '@/shared/ui-kit'; +import { AccountExplorers } from '@/shared/ui-entities'; +import { Box, Skeleton } from '@/shared/ui-kit'; import { AssetBalance } from '@/entities/asset'; import { ChainTitle } from '@/entities/chain'; import { TracksDetails, voteTransactionService } from '@/entities/governance'; @@ -33,7 +34,7 @@ import { isUndelegateTransaction, isXcmTransaction, } from '@/entities/transaction'; -import { AddressWithExplorers, ExplorersPopover, WalletCardSm, WalletIcon, walletModel } from '@/entities/wallet'; +import { AddressWithExplorers, WalletIcon, walletModel } from '@/entities/wallet'; import { AddressStyle, InteractionStyle } from '../common/constants'; import { getDelegate, @@ -192,12 +193,11 @@ export const Details = ({ tx, account, extendedChain, signatory }: Props) => { {signatory && signatoryWallet && ( - } - address={signatory.accountId} - explorers={explorers} - addressPrefix={addressPrefix} - /> + + + {signatoryWallet.name} + {extendedChain ? : null} + )}