Skip to content

Commit

Permalink
fix(AppErrorBoundary): don't import the error page
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Jul 16, 2024
1 parent 1c1bf9f commit c4ca416
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/v2/components/AppErrorBoundary.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Bugsnag from "@bugsnag/js"
import ErrorPage from "pages/_error"
// import ErrorPage from "pages/_error"
import { PropsWithChildren } from "react"
import { ErrorBoundary } from "react-error-boundary"

Expand All @@ -18,7 +18,8 @@ const AppErrorBoundary = ({ children }: PropsWithChildren<unknown>) => (
}
})
}}
fallback={<ErrorPage />}
// fallback={<ErrorPage />}
fallback={null}
>
{children}
</ErrorBoundary>
Expand Down

0 comments on commit c4ca416

Please sign in to comment.