Skip to content

Commit 6808007

Browse files
marc2332begonaalvarezdcpl121
authored
chore: Hide Delete wallet button (#7905)
* refactor(2.0): Dynamic password * refactor(2.0): Remove Profile Manager (wip) * clean up and fix * clean up * clean up more code * clean up * adapt and remove for profile-manager related code * clean up more code * fmt * more cleanup * more cleanup * small tweaks * more cleanup * format * update * clean up * https://api.testnet.shimmer.network * revert Wallet.svelte * clean up * chore: Hide Delete wallet button * fix: merge debris * fix: merge debris 2 --------- Co-authored-by: Begoña Álvarez de la Cruz <[email protected]> Co-authored-by: cpl121 <[email protected]>
1 parent 27bfbe5 commit 6808007

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/desktop/components/modals/WalletActionsMenu.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
1717
export let modal: Modal = undefined
1818
19-
const showDeleteAccount = true // TODO(2.0) Is there anything preventing us from deleting any account ?
20-
// $selectedWallet?.id === $activeWallets?.length - 1 && $visibleActiveWallets?.length > 1
19+
const showDeleteAccount = false // TODO(2.0) It doesn't make sense to allow removing
20+
// the wallet as there is only one for each profile at the moment
2121
2222
function onCustomiseAccountClick(): void {
2323
openPopup({ id: PopupId.ManageWallet })

0 commit comments

Comments
 (0)