mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 00:29:34 +00:00
feat(frontend): add change language button in login page
This commit is contained in:
@@ -31,10 +31,6 @@ export default function PersonalSettings() {
|
||||
|
||||
const { t, lang } = useTranslation();
|
||||
|
||||
const changeLanguage = useCallback((code) => {
|
||||
setLanguage(code);
|
||||
}, []);
|
||||
|
||||
useEffect(async () => {
|
||||
let user = await getUser();
|
||||
setPersonalEmail(user.email);
|
||||
|
||||
Reference in New Issue
Block a user