import { createContext, useContext } from "react";
const LanguageContext = createContext(void 0);
const useLanguage = (fallbackLanguage) => {
	const context = useContext(LanguageContext);
	if (!context) return { language: fallbackLanguage };
	return context;
};
export { useLanguage as n, LanguageContext as t };

//# sourceMappingURL=useLanguage.js.map