mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-02 16:09:08 +02:00
🔥 Remove unused toast code (#1162)
This commit is contained in:
parent
b79f6720f2
commit
585475f1f2
3 changed files with 0 additions and 17 deletions
|
@ -67,7 +67,6 @@
|
|||
"react-big-calendar": "^1.8.1",
|
||||
"react-hook-form": "^7.42.1",
|
||||
"react-hook-form-persist": "^3.0.0",
|
||||
"react-hot-toast": "^2.4.0",
|
||||
"react-i18next": "^12.1.4",
|
||||
"linkifyjs": "^4.1.3",
|
||||
"linkify-react": "^4.1.3",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import * as Sentry from "@sentry/browser";
|
||||
import { MutationCache } from "@tanstack/react-query";
|
||||
import { httpBatchLink } from "@trpc/client";
|
||||
import toast from "react-hot-toast";
|
||||
import superjson from "superjson";
|
||||
|
||||
export const trpcConfig = {
|
||||
|
@ -21,9 +20,6 @@ export const trpcConfig = {
|
|||
},
|
||||
mutationCache: new MutationCache({
|
||||
onError: (error) => {
|
||||
toast.error(
|
||||
"Uh oh! Something went wrong. The issue has been logged and we'll fix it as soon as possible. Please try again later.",
|
||||
);
|
||||
Sentry.captureException(error);
|
||||
},
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue