mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 08:48:47 +01:00
resolve only works when authenticated
This commit is contained in:
parent
ad13f90374
commit
43c4fc6534
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue