refactor(frontend): return-types en functie stijl
This commit is contained in:
		
							parent
							
								
									364ffd3b16
								
							
						
					
					
						commit
						bb6034dff8
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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); | ||||
|     }; | ||||
|     } | ||||
| </script> | ||||
| 
 | ||||
| <template> | ||||
|  |  | |||
		Reference in a new issue