resolve only works when authenticated

This commit is contained in:
Lim Chee Aun 2023-02-06 19:54:48 +08:00
parent ad13f90374
commit 43c4fc6534

View file

@ -38,7 +38,7 @@ function Account({ account, instance: propInstance, onClose }) {
q: account,
type: 'accounts',
limit: 1,
resolve: true,
resolve: authenticated,
});
if (result.accounts.length) {
setInfo(result.accounts[0]);