Fix i18n: move init to root.tsx and downgrade to stable versions
Move initI18n() from entry.client.tsx to root.tsx in both Planner and Journal so i18n is initialized before any component renders. Downgrade react-i18next to 16.6.1 and i18next to 25.10.4 to avoid hydration mismatch issues introduced in newer versions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
30ae68dd69
commit
3f7499ff06
7 changed files with 252 additions and 248 deletions
|
|
@ -5,10 +5,10 @@ packages:
|
|||
catalog:
|
||||
react: ^19.1.0
|
||||
react-dom: ^19.1.0
|
||||
react-router: ^7.13.2
|
||||
"@react-router/dev": ^7.13.2
|
||||
"@react-router/node": ^7.13.2
|
||||
"@react-router/serve": ^7.13.2
|
||||
react-router: ^7.6.1
|
||||
"@react-router/dev": ^7.6.1
|
||||
"@react-router/node": ^7.6.1
|
||||
"@react-router/serve": ^7.6.1
|
||||
"@types/react": ^19.1.4
|
||||
"@types/react-dom": ^19.1.5
|
||||
tailwindcss: ^4.1.7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue