From fa9a8cca899ada418cf0f72362cb9833fe45a37f Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Thu, 10 Aug 2023 01:27:22 +0530 Subject: [PATCH] fix: add support email (#10605) --- apps/web/pages/500.tsx | 13 +++++-------- apps/web/public/static/locales/en/common.json | 2 ++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/web/pages/500.tsx b/apps/web/pages/500.tsx index eb73583245..a7ba940d2f 100644 --- a/apps/web/pages/500.tsx +++ b/apps/web/pages/500.tsx @@ -1,7 +1,7 @@ import Head from "next/head"; import { useSearchParams } from "next/navigation"; -import { APP_NAME, WEBSITE_URL } from "@calcom/lib/constants"; +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"; @@ -21,14 +21,11 @@ export default function Error500() {
- Something went wrong on our end. Get in touch with our support team, and we’ll get it fixed right - away for you. -
+{t("something_went_wrong_on_our_end")}
{searchParams?.get("error") && (- Please provide the following text when contacting support to better help you: + {t("please_provide_following_text_to_suppport")}:
{searchParams?.get("error")}
@@ -46,9 +43,9 @@ export default function Error500() {