From 6fc625709c4ec925b71654bde9f975cee993333c Mon Sep 17 00:00:00 2001 From: "MSI\\User" Date: Wed, 21 Aug 2024 16:53:38 +0800 Subject: [PATCH] hide language setting --- src/components/AppBar/Profile.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/AppBar/Profile.tsx b/src/components/AppBar/Profile.tsx index 508f640..c14d318 100644 --- a/src/components/AppBar/Profile.tsx +++ b/src/components/AppBar/Profile.tsx @@ -66,8 +66,8 @@ const Profile: React.FC = ({ avatarImageSrc, profileName }) => { { router.replace("/changepassword") }}>{t("Change Password")} - {language === "zh" && { onLangClick("en") }}>{t("Change To English Version")}} - {language === "en" && { onLangClick("zh") }}>{t("Change To Chinese Version")}} + {/* {language === "zh" && { onLangClick("en") }}>{t("Change To English Version")}} + {language === "en" && { onLangClick("zh") }}>{t("Change To Chinese Version")}} */} signOut()}>{t("Sign out")}