Avoid rethrow after local cleanup
cgen-38fb76de5b114d3b9db40383b7e38144
This commit is contained in:
parent
ce255b27be
commit
d3f4649dd8
1 changed files with 0 additions and 1 deletions
|
|
@ -453,7 +453,6 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({
|
||||||
error?.message ||
|
error?.message ||
|
||||||
"We had trouble contacting the auth service, but local data was cleared.",
|
"We had trouble contacting the auth service, but local data was cleared.",
|
||||||
});
|
});
|
||||||
throw error;
|
|
||||||
} finally {
|
} finally {
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue