'use client'; import Link from 'next/link'; import { useEffect } from 'react'; /** * Error boundary below the root layout: the layout and its styles stay. With * route groups, add one error.tsx per group. Never show `error.message` or a * stack; the digest is the reference a user can give to support. * `retry()` re-fetches the segment; `reset()` only re-renders the client tree. */ export default function ErrorBoundary({ error, retry, }: { error: Error & { digest?: string }; retry: () => void; }) { useEffect(() => { // Report it: swap in your error tracker here, e.g. Sentry.captureException(error). console.error(error); }, [error]); return (

{{PROJECT_TITLE}}

Something went wrong

This part of the page could not be loaded. Trying again usually helps.

Back to the home page

{error.digest ?

Error reference: {error.digest}

: null}
); }