We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fae22a commit 6002c2dCopy full SHA for 6002c2d
client/src/components/Locales/index.tsx
@@ -24,7 +24,7 @@ export function Locales() {
24
25
useEffect(() => {
26
if (typeof window === 'undefined') return;
27
- const local = window.localStorage.getItem('locale');
+ const local = defaultLocale || window.localStorage.getItem('locale');
28
if (local && i18n[local]) {
29
changeLocale(local);
30
}
0 commit comments