From cb22e498c444cce6f3f77b521e48bff024b5da7d Mon Sep 17 00:00:00 2001 From: "MSI\\User" Date: Mon, 2 Sep 2024 11:35:11 +0800 Subject: [PATCH] language button --- 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 c14d318..508f640 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")}