refactor(frontend): return-types en functie stijl

This commit is contained in:
Tibo De Peuter 2025-03-25 09:46:18 +01:00
parent 364ffd3b16
commit bb6034dff8
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -13,10 +13,10 @@
]); ]);
// Logic to change the language of the website to the selected language // Logic to change the language of the website to the selected language
const changeLanguage = (langCode: string) => { function changeLanguage(langCode: string): void {
locale.value = langCode; locale.value = langCode;
localStorage.setItem("user-lang", langCode); localStorage.setItem("user-lang", langCode);
}; }
</script> </script>
<template> <template>