diff --git a/src/pages/settings.jsx b/src/pages/settings.jsx index d0b5468e..ba27dbb5 100644 --- a/src/pages/settings.jsx +++ b/src/pages/settings.jsx @@ -105,18 +105,20 @@ function Settings({ onClose }) { } > - { - // Move account to the top of the list - accounts.splice(i, 1); - accounts.unshift(account); - store.local.setJSON('accounts', accounts); - setCurrentDefault(i); - }} - > - Set as default - + {moreThanOneAccount && ( + { + // Move account to the top of the list + accounts.splice(i, 1); + accounts.unshift(account); + store.local.setJSON('accounts', accounts); + setCurrentDefault(i); + }} + > + Set as default + + )} {