'use client' import * as Sentry from '@sentry/nextjs' import Link from 'next/link' import { useEffect } from 'react' import { Button } from 'ui' const ErrorPage = ({ error }) => { useEffect(() => { Sentry.captureException(error, { tags: { globalErrorBoundary: true } }) }, [error]) return (