fix: language dropdown not updating

This commit is contained in:
Maya 2025-09-02 17:54:46 +03:00
parent 1227ed29d5
commit 61c22b6add
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -303,6 +303,7 @@ export const availableLocales = {
export function updateLocale(newLocale: string) {
log(["locale"], `set to ${newLocale}`);
localStorage.setItem("locale", newLocale);
// @ts-expect-error shush
setLocale(newLocale, { reload: false });
// @ts-expect-error shush