Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
feat: avoid multiple error notifications (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight authored Jun 23, 2022
1 parent 3278050 commit f696780
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app/src/systems/Core/utils/queryClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function handleError(error: any) {
const msg = error.message;
toast.error(msg.includes("Panic") ? panicError(msg) : msg, {
duration: 100000000,
id: msg,
});
}

Expand Down

0 comments on commit f696780

Please sign in to comment.