From 72e5b50eebe0ddb2ea916bc86f45c6e311240cbc Mon Sep 17 00:00:00 2001 From: Alexander Borg Date: Fri, 19 Sep 2025 15:13:54 +0200 Subject: [PATCH] Fix jwt-token --- client/src/utils/tempTranslations.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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