about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-08-29 10:36:20 +0300
committerGitHub <noreply@github.com>2025-08-29 10:36:20 +0300
commit0114cfcfe10857a6e2be23f4d68489aa40456916 (patch)
tree0cc09a414106564dff98bd1a73cc45f37c8bdbd3
parent617242371473baaea026b128532eb7fb3b0dd0ee (diff)
downloadvoidsky-0114cfcfe10857a6e2be23f4d68489aa40456916.tar.zst
fix hook being marked as async for no reason (#8932)
-rw-r--r--src/locale/i18n.web.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/i18n.web.ts b/src/locale/i18n.web.ts
index aad3f6e0a..23a866dc2 100644
--- a/src/locale/i18n.web.ts
+++ b/src/locale/i18n.web.ts
@@ -182,7 +182,7 @@ export async function dynamicActivate(locale: AppLanguage) {
   i18n.activate(locale)
 }
 
-export async function useLocaleLanguage() {
+export function useLocaleLanguage() {
   const {appLanguage} = useLanguagePrefs()
   useEffect(() => {
     const sanitizedLanguage = sanitizeAppLanguageSetting(appLanguage)