Created
November 4, 2022 07:52
-
-
Save enricop89/acab5b9f368c73abbdda95ef893ff88f to your computer and use it in GitHub Desktop.
userLanguageContext.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createContext } from "react"; | |
const UserLanguageContext = createContext({ | |
language: "en", | |
setLanguage: () => {}, | |
}); | |
export default UserLanguageContext; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment