"use client"; /** * LAST-resort error boundary: renders when the ROOT layout itself crashes * (providers, theme, query client) — `error.tsx` sits BELOW the root * layout's providers and cannot catch those. Without this file, a root * crash in production = a blank white page with no recovery (QA issue * #5/#6: "leads to error page"). This file must be fully self-contained: * no app imports, no providers, inline styles only (globals.css is not * guaranteed to have loaded when we render here). */ export default function GlobalError({ error, reset }: { error: Error & { digest?: string }; reset: () => void; }) { return (

The app failed to start

Something went wrong while loading the interface. Reload to try again — your content is stored on the server and is safe.

{error?.digest ? (

Ref: {error.digest}

) : null}
); }