import Head from "next/head"; import { useSearchParams } from "next/navigation"; import { APP_NAME } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Button, showToast } from "@calcom/ui"; import { Copy } from "@calcom/ui/components/icon"; import PageWrapper from "@components/PageWrapper"; export default function Error500() { const searchParams = useSearchParams(); const { t } = useLocale(); return (
Something unexpected occurred | {APP_NAME}

500

It's not you, it's us.

{t("something_went_wrong_on_our_end")}

{searchParams?.get("error") && (

{t("please_provide_following_text_to_suppport")}:

              {searchParams?.get("error")}
              
)}
); } Error500.PageWrapper = PageWrapper;