diff --git a/src/context/UserContext.js b/src/context/UserContext.js index e5938b6..5a68601 100644 --- a/src/context/UserContext.js +++ b/src/context/UserContext.js @@ -11,7 +11,7 @@ export function UserContextProvider({ children }) { const localLanguage = localStorage.getItem("userLanguage") || "FR"; const localCountry = JSON.parse(localStorage.getItem("userCountry")) || { name: "belgique", - iso: "BE", + iso: "be", label: "Belgique", }; const localProfile = localStorage.getItem("userProfile") || "lhoist_employee"; @@ -21,6 +21,7 @@ export function UserContextProvider({ children }) { const [profile, setProfile] = useState(localProfile); const [screensTranslations, setScreensTranslations] = useState({}); + console.log("country", country); useEffect(() => { if (!language) return; const loadTranslations = async (language) => {