Skip to content

Commit

Permalink
chore: fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
khanti42 committed Feb 4, 2025
1 parent 7d0c525 commit 3707b5e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export const VisibleAccountsListView = ({
</AccountSwitchMenuItem>
<IconButton
onClick={(e) => {
// Hiding accounts does not close the switch dropdown if there are still hidden accounts left.
// This allows to hide several accounts more effectively.
if (accounts.length > 2) {
e.preventDefault();
}
Expand Down

0 comments on commit 3707b5e

Please sign in to comment.