diff --git a/src/layouts/common/languageSwitcher/LanguageSwitcher.jsx b/src/layouts/common/languageSwitcher/LanguageSwitcher.jsx index eed9559..6a0d1a9 100644 --- a/src/layouts/common/languageSwitcher/LanguageSwitcher.jsx +++ b/src/layouts/common/languageSwitcher/LanguageSwitcher.jsx @@ -10,10 +10,7 @@ import LanguageOutlinedIcon from "@mui/icons-material/LanguageOutlined"; const LanguageSwitcher = () => { const theme = useTheme(); const appContext = useContext(AppContext); - const currentLocale = - appContext && appContext.locale - ? String(appContext.locale).toUpperCase() - : "EN"; + const currentLocale = appContext && appContext.locale === "en" ? "NL" : "EN"; return (