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:
Kalle
2023-12-02 11:08:40 +02:00
parent c073e61c47
commit 7bdd54cfb5

View File

@@ -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>