Commit ceec27a
Fix language selector not persisting choice before navigation
Switching to English was redirecting back to the previously saved
language because LanguageSelector never called changeLocale() —
so localStorage still held the old language when EnglishLayout mounted.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 154b1f9 commit ceec27a
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
0 commit comments