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, q: account,
type: 'accounts', type: 'accounts',
limit: 1, limit: 1,
resolve: true, resolve: authenticated,
}); });
if (result.accounts.length) { if (result.accounts.length) {
setInfo(result.accounts[0]); setInfo(result.accounts[0]);