From 3707b5e29b7818444228b035816b402375bc91ca Mon Sep 17 00:00:00 2001 From: Florin Dzeladini Date: Tue, 4 Feb 2025 16:10:03 +0100 Subject: [PATCH] chore: fix comments --- .../VisibleAccountsList/VisibleAccountsList.view.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/wallet-ui/src/components/ui/organism/AccountSwitchModal/VisibleAccountsList/VisibleAccountsList.view.tsx b/packages/wallet-ui/src/components/ui/organism/AccountSwitchModal/VisibleAccountsList/VisibleAccountsList.view.tsx index 56f7ad8e..020f3ce3 100644 --- a/packages/wallet-ui/src/components/ui/organism/AccountSwitchModal/VisibleAccountsList/VisibleAccountsList.view.tsx +++ b/packages/wallet-ui/src/components/ui/organism/AccountSwitchModal/VisibleAccountsList/VisibleAccountsList.view.tsx @@ -60,6 +60,8 @@ export const VisibleAccountsListView = ({ { + // 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(); }