From 5db97de24d62ed38739663d22a2dc08ada889589 Mon Sep 17 00:00:00 2001 From: encryptedDegen Date: Sat, 21 Dec 2024 00:44:33 +0100 Subject: [PATCH] make global error client side --- src/app/global-error.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/global-error.tsx b/src/app/global-error.tsx index bb974af9..a7fd2777 100644 --- a/src/app/global-error.tsx +++ b/src/app/global-error.tsx @@ -1,7 +1,8 @@ +'use client' + import { default as NextError } from 'next/error' interface GlobalErrorProps { - error: NextError & { digest?: string } reset: () => void }