mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 15:48:23 -05:00
Remove unneeded error log
Seems like this is providing no value. In dev mode they already do it by default. In prod it's sanitized. Anyway I guess we want to send these to Sentry?
This commit is contained in:
@@ -15,7 +15,6 @@ import {
|
||||
useLoaderData,
|
||||
useMatches,
|
||||
useNavigation,
|
||||
useRouteError,
|
||||
} from "@remix-run/react";
|
||||
import * as React from "react";
|
||||
import commonStyles from "~/styles/common.css";
|
||||
@@ -260,9 +259,6 @@ export default function App() {
|
||||
}
|
||||
|
||||
export const ErrorBoundary = () => {
|
||||
const error = useRouteError();
|
||||
console.error(error);
|
||||
|
||||
return (
|
||||
<ThemeProvider themeSource="static" specifiedTheme={Theme.DARK}>
|
||||
<Document isErrored>
|
||||
|
||||
Reference in New Issue
Block a user