Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove repeated account option #27116

Merged
merged 4 commits into from
Sep 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
gantunesr marked this conversation as resolved.
Show resolved Hide resolved
}
{
///: BEGIN:ONLY_INCLUDE_IF(build-flask)
gantunesr marked this conversation as resolved.
Show resolved Hide resolved
bitcoinTestnetSupportEnabled ? (
Expand Down
Loading