1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-05 04:51:30 +01:00

fix: avoid scrolling when changing language

This commit is contained in:
Théo LUDWIG 2023-07-22 19:40:28 +02:00
parent 8d60c2d53a
commit 65e0f4f8b6
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -37,7 +37,7 @@ export const Language: React.FC = () => {
}, []) }, [])
const handleLanguage = async (language: string): Promise<void> => { const handleLanguage = async (language: string): Promise<void> => {
await setLanguage(language) await setLanguage(language, false)
} }
return ( return (