diff --git a/client/src/utils/tempTranslations.js b/client/src/utils/tempTranslations.js index 6182228..e62f183 100644 --- a/client/src/utils/tempTranslations.js +++ b/client/src/utils/tempTranslations.js @@ -882,4 +882,8 @@ export const changeLanguage = (lang) => { window.location.reload(); }; -export const getCurrentLanguage = () => currentLanguage; \ No newline at end of file +export const getCurrentLanguage = () => currentLanguage; + +export const useTranslation = () => { + return { t }; +}; \ No newline at end of file