mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-23 16:38:17 +00:00
fix(ui): hide error if API throws un-authorized (#7244)
This commit is contained in:
parent
364067ac84
commit
c0b42b6825
@ -422,7 +422,6 @@ export const AuthProvider = ({
|
||||
const { status } = error.response;
|
||||
if (status === ClientErrors.UNAUTHORIZED) {
|
||||
storeRedirectPath();
|
||||
showErrorToast(error);
|
||||
resetUserDetails(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user