'use client'; /** * Root-layout error boundary. This replaces the whole document (the root * layout failed), so globals.css + fonts are NOT available — styles are * inlined so the fallback always renders. Only triggers on catastrophic * root-level errors; segment errors use error.tsx. */ export default function GlobalError({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; }) { return (
briven hit an unexpected error. it's been logged. try reloading.
{error.digest ? (reference: {error.digest}
) : null} ); }