Skip to content

Commit

Permalink
bug in remix maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Sep 14, 2023
1 parent 9db96ae commit d72034b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/error-boundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function GeneralErrorBoundary({
<div className="container flex items-center justify-center p-20 text-h2">
{isRouteErrorResponse(error)
? (statusHandlers?.[error.status] ?? defaultStatusHandler)({
// @ts-expect-error, pretty sure this is a bug in Remix
error,
params,
})
Expand Down

0 comments on commit d72034b

Please sign in to comment.