From 1c611e0bcf972d093a1bbb5ccafdba9c46bc5a0d Mon Sep 17 00:00:00 2001 From: gantunesr <17601467+gantunesr@users.noreply.github.com> Date: Thu, 12 Sep 2024 18:50:49 -0300 Subject: [PATCH] fix: delete repeated account option --- .../account-list-menu/account-list-menu.tsx | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/ui/components/multichain/account-list-menu/account-list-menu.tsx b/ui/components/multichain/account-list-menu/account-list-menu.tsx index 2afbe6f1fcbc..c08feb2f4df0 100644 --- a/ui/components/multichain/account-list-menu/account-list-menu.tsx +++ b/ui/components/multichain/account-list-menu/account-list-menu.tsx @@ -395,31 +395,6 @@ export const AccountListMenu = ({ ) ///: END:ONLY_INCLUDE_IF } - { - ///: BEGIN:ONLY_INCLUDE_IF(build-flask) - bitcoinTestnetSupportEnabled ? ( - - { - // The account creation + renaming is handled by the Snap account bridge, so - // we need to close the current model - onClose(); - - await createBitcoinAccount( - MultichainNetworks.BITCOIN_TESTNET, - ); - }} - data-testid="multichain-account-menu-popover-add-btc-account-testnet" - > - {t('addNewBitcoinTestnetAccount')} - - - ) : null - ///: END:ONLY_INCLUDE_IF - } { ///: BEGIN:ONLY_INCLUDE_IF(build-flask) bitcoinTestnetSupportEnabled ? (