Skip to content

Commit

Permalink
revert: removed signatory balance rendering in create multisig form (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthecat authored Nov 15, 2024
1 parent 3fcf3bc commit 7122d19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 52 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
import { CaptionText, Combobox, IconButton, Identicon, Input } from '@/shared/ui';
import { type ComboboxOption } from '@/shared/ui/types';
import { Address } from '@/shared/ui-entities';
import { Box } from '@/shared/ui-kit';
import { contactModel } from '@/entities/contact';
import { networkUtils } from '@/entities/network';
import { WalletIcon, accountUtils, walletModel, walletUtils } from '@/entities/wallet';
Expand All @@ -24,8 +23,6 @@ import { GroupLabels } from '@/features/wallets/WalletSelect/ui/WalletGroup';
import { formModel } from '@/widgets/CreateWallet/model/form-model';
import { signatoryModel } from '../../../model/signatory-model';

import { AccountBalance } from './AccountBalance';

interface Props {
signatoryName: string;
signatoryAddress: string;
Expand Down Expand Up @@ -109,12 +106,7 @@ export const Signatory = ({

return {
value: address,
element: (
<Box direction="row" verticalAlign="center" horizontalAlign="space-between" fitContainer>
<Address showIcon title={account.name} address={address} />
<AccountBalance accountId={account.accountId} chain={chain.value} />
</Box>
),
element: <Address showIcon title={account.name} address={address} />,
id: account.walletId.toString(),
};
}),
Expand Down

0 comments on commit 7122d19

Please sign in to comment.