import { NextPage } from 'next' import { useTheme } from 'next-themes' import Image from 'next/legacy/image' import Link from 'next/link' import { useRouter } from 'next/router' import { useSignOut } from 'lib/auth' import { Button } from 'ui' const Error500: NextPage = () => { const router = useRouter() const { resolvedTheme } = useTheme() const signOut = useSignOut() const onClickLogout = async () => { await signOut() await router.push('/sign-in') router.reload() } return (
Sorry about that, please try again later or feel free to reach out to us if the problem persists.