Auth: fix otherAccounts throwing a fullscreen error in local dev
This commit is contained in:
parent
0f91282edc
commit
0f65c7bd7e
1 changed files with 2 additions and 1 deletions
|
@ -242,7 +242,8 @@ export const fetchOwnAccounts = () =>
|
|||
return state.auth.users.forEach((user) => {
|
||||
const account = state.accounts.get(user.id);
|
||||
if (!account) {
|
||||
dispatch(verifyCredentials(user.access_token, user.url));
|
||||
dispatch(verifyCredentials(user.access_token, user.url))
|
||||
.catch(() => console.warn(`Failed to load account: ${user.url}`));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue