Skip to content

Commit

Permalink
fix: error boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed Jul 11, 2023
1 parent 29179f4 commit 27b6c0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/common/ErrorBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import type { FC, PropsWithChildren } from 'react'

import { captureException } from '@sentry/nextjs'

const Noop = () => null
export const ErrorBoundary: FC<PropsWithChildren> = ({ children }) => {
return (
<ErrorBoundaryLib
fallback={null}
FallbackComponent={Noop}
onError={(e) => {
console.error(e)

Expand Down

1 comment on commit 27b6c0d

@vercel
Copy link

@vercel vercel bot commented on 27b6c0d Jul 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

shiro-git-main-innei.vercel.app
springtide.vercel.app
innei.in
shiro-innei.vercel.app

Please sign in to comment.