"use client"; import { Link } from "@/components/common/link"; import { Button } from "@/components/ui/button"; import * as Sentry from "@sentry/nextjs"; import { useEffect } from "react"; export default function GlobalError({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; }) { useEffect(() => { Sentry.captureException(error); }, [error]); return (

Application Error

An unexpected error occurred. This has been reported and we're working on it.{" "} Contact us if it persists.

); }