Skip to content

Commit

Permalink
make global error client side
Browse files Browse the repository at this point in the history
  • Loading branch information
encryptedDegen committed Dec 20, 2024
1 parent e28e3d6 commit 5db97de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/global-error.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
'use client'

import { default as NextError } from 'next/error'

interface GlobalErrorProps {
error: NextError & { digest?: string }
reset: () => void
}

Expand Down

0 comments on commit 5db97de

Please sign in to comment.