'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) }, [error]) return (
Sorry, something went wrong
) } export default ErrorPage