Skip to content

Commit

Permalink
fix: delete repeated account option
Browse files Browse the repository at this point in the history
  • Loading branch information
gantunesr committed Sep 12, 2024
1 parent fc9b12a commit 1c611e0
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions ui/components/multichain/account-list-menu/account-list-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -395,31 +395,6 @@ export const AccountListMenu = ({
)
///: END:ONLY_INCLUDE_IF
}
{
///: BEGIN:ONLY_INCLUDE_IF(build-flask)
bitcoinTestnetSupportEnabled ? (
<Box marginTop={4}>
<ButtonLink
disabled={isBtcTestnetAccountAlreadyCreated}
size={ButtonLinkSize.Sm}
startIconName={IconName.Add}
onClick={async () => {
// 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')}
</ButtonLink>
</Box>
) : null
///: END:ONLY_INCLUDE_IF
}
{
///: BEGIN:ONLY_INCLUDE_IF(build-flask)
bitcoinTestnetSupportEnabled ? (
Expand Down

0 comments on commit 1c611e0

Please sign in to comment.