Silent harmless AbortError (#13080)

This commit is contained in:
Marie
2025-07-07 17:26:20 +02:00
committed by GitHub
parent c6e5bab4e9
commit e4120cdce3
2 changed files with 7 additions and 1 deletions
@@ -123,6 +123,10 @@ export const useSnackBar = () => {
) & {
options?: Omit<SnackBarOptions, 'message' | 'id'>;
}) => {
if (apolloError?.networkError?.name === 'AbortError') {
return;
}
const errorMessage = message
? message
: apolloError