diff --git a/src/pages/accounts.jsx b/src/pages/accounts.jsx index 658a49db..2391898b 100644 --- a/src/pages/accounts.jsx +++ b/src/pages/accounts.jsx @@ -110,28 +110,32 @@ function Accounts({ onClose }) { } > - { - setCurrentAccountID(account.info.id); - location.reload(); - }} - > - {' '} - Switch to this account - - {!isStandalone && !isCurrent && ( - - - - Switch in new tab/window - - + {moreThanOneAccount && ( + <> + { + setCurrentAccountID(account.info.id); + location.reload(); + }} + > + {' '} + Switch to this account + + {!isStandalone && !isCurrent && ( + + + + Switch in new tab/window + + + )} + + )} - { states.showAccount = `${account.info.username}@${account.instanceURL}`;