Refactor i18n client and server initialization
The refactor includes the removal of clientInstance checks as they are unnecessary. Also, i18n-provider.tsx has been updated to use react-query instead of local state for client initialization. Lastly, error handling has been added to the server initialization process and the @tanstack/react-query package has been added to the project dependencies.
This commit is contained in:
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@@ -989,6 +989,9 @@ importers:
|
||||
'@kit/tsconfig':
|
||||
specifier: workspace:*
|
||||
version: link:../../tooling/typescript
|
||||
'@tanstack/react-query':
|
||||
specifier: 5.29.2
|
||||
version: 5.29.2(react@18.2.0)
|
||||
i18next:
|
||||
specifier: ^23.11.2
|
||||
version: 23.11.2
|
||||
|
||||
Reference in New Issue
Block a user