diff --git a/app/global-error.tsx b/app/global-error.tsx new file mode 100644 index 0000000..86972fc --- /dev/null +++ b/app/global-error.tsx @@ -0,0 +1,34 @@ +"use client"; + +export const dynamic = 'force-dynamic'; + +import React from 'react'; + +export default function GlobalError({ + error, + reset, +}: { + error: Error & { digest?: string }; + reset: () => void; +}) { + return ( + +
+ +Une erreur inattendue s'est produite.
+ +