import { CheckIcon } from "@heroicons/react/outline"; import { GetServerSidePropsContext } from "next"; import Link from "next/link"; import { useLocale } from "@lib/hooks/useLocale"; import { HeadSeo } from "@components/seo/head-seo"; import { ssrInit } from "@server/lib/ssr"; export default function Logout() { const { t } = useLocale(); return (

{t("hope_to_see_you_soon")}

{t("go_back_login")}
); } export async function getServerSideProps(context: GetServerSidePropsContext) { const ssr = await ssrInit(context); return { props: { trpcState: ssr.dehydrate(), }, }; }