sforkowany z mirror/soapbox
verifyCredentials: do alert on failure
rodzic
3fbc912dae
commit
da9eaf2b82
|
@ -180,7 +180,7 @@ export const verifyCredentials = (token: string, accountUrl?: string) => {
|
|||
return account;
|
||||
} else {
|
||||
if (getState().me === null) dispatch(fetchMeFail(error));
|
||||
dispatch({ type: VERIFY_CREDENTIALS_FAIL, token, error, skipAlert: true });
|
||||
dispatch({ type: VERIFY_CREDENTIALS_FAIL, token, error });
|
||||
throw error;
|
||||
}
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue