From ea8931824f8782e9bda8ce76217e85b64ea6bbbc Mon Sep 17 00:00:00 2001 From: Anyul Rivas Date: Wed, 19 Jun 2024 19:29:34 +0200 Subject: [PATCH] feat: remove console logs --- src/2023/Schedule/Schedule2023.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/2023/Schedule/Schedule2023.tsx b/src/2023/Schedule/Schedule2023.tsx index 85d9396c..2374c358 100644 --- a/src/2023/Schedule/Schedule2023.tsx +++ b/src/2023/Schedule/Schedule2023.tsx @@ -13,8 +13,6 @@ import { StyledScheduleSection, } from "./Schedule.style"; import * as Sentry from "@sentry/react"; -import { Simulate } from "react-dom/test-utils"; -import error = Simulate.error; const Schedule2023: FC> = () => { const { width } = useWindowSize(); @@ -30,11 +28,7 @@ const Schedule2023: FC> = () => { sched.innerHTML = value; } }) - .catch((err) => { - Sentry.captureException(error); - // eslint-disable-next-line no-console - console.error(err); - }); + .catch((err) => Sentry.captureException(err)); }, []); return (