Skip to content

Commit

Permalink
feat: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anyulled committed Jun 19, 2024
1 parent ae17880 commit ea89318
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/2023/Schedule/Schedule2023.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<React.PropsWithChildren<unknown>> = () => {
const { width } = useWindowSize();
Expand All @@ -30,11 +28,7 @@ const Schedule2023: FC<React.PropsWithChildren<unknown>> = () => {
sched.innerHTML = value;
}
})
.catch((err) => {
Sentry.captureException(error);
// eslint-disable-next-line no-console
console.error(err);
});
.catch((err) => Sentry.captureException(err));
}, []);

return (
Expand Down

0 comments on commit ea89318

Please sign in to comment.