From 7bdd54cfb5a9f364da8dd8497aea1d8810eb7eed Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sat, 2 Dec 2023 11:08:40 +0200 Subject: [PATCH] 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? --- app/root.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/root.tsx b/app/root.tsx index dac1c7b74..8a77cd64c 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -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 (