"use client" import { Button } from "@repo/ui/design/Button" import { MainLayout } from "@repo/ui/MainLayout" import { useTranslations } from "next-intl" import { useEffect } from "react" interface ErrorBoundaryPageProps { error: Error & { digest?: string } reset: () => void } const ErrorBoundaryPage: React.FC = (props) => { const { error, reset } = props const t = useTranslations() useEffect(() => { console.error(error) }, [error]) return (

{t("errors.error")} 500 - {t("errors.server-error")}

) } export default ErrorBoundaryPage