diff --git a/frontend/src/views/HomePage.vue b/frontend/src/views/HomePage.vue index d8562fba..0f0c08ad 100644 --- a/frontend/src/views/HomePage.vue +++ b/frontend/src/views/HomePage.vue @@ -13,10 +13,10 @@ ]); // Logic to change the language of the website to the selected language - const changeLanguage = (langCode: string) => { + function changeLanguage(langCode: string): void { locale.value = langCode; localStorage.setItem("user-lang", langCode); - }; + }