diff --git a/packages/frontend/i18n/package.json b/packages/frontend/i18n/package.json index 4b4e70cba702f..b45123368716c 100644 --- a/packages/frontend/i18n/package.json +++ b/packages/frontend/i18n/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "i18next": "^23.5.1", - "react-i18next": "^13.3.0" + "react-i18next": "^14.0.0" }, "devDependencies": { "@types/prettier": "^3.0.0", diff --git a/packages/frontend/i18n/src/index.ts b/packages/frontend/i18n/src/index.ts index 8987941ef5290..848548ef518e3 100644 --- a/packages/frontend/i18n/src/index.ts +++ b/packages/frontend/i18n/src/index.ts @@ -68,7 +68,6 @@ const standardizeLocale = (language: string) => { }; export const createI18n = (): I18nextProviderProps['i18n'] => { - // @ts-expect-error ts bug const i18n: I18nextProviderProps['i18n'] = i18next.createInstance(); i18n .use(initReactI18next) diff --git a/yarn.lock b/yarn.lock index b5af308b48150..5d30c0de9df30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -569,7 +569,7 @@ __metadata: "@types/prettier": "npm:^3.0.0" i18next: "npm:^23.5.1" prettier: "npm:^3.0.3" - react-i18next: "npm:^13.3.0" + react-i18next: "npm:^14.0.0" ts-node: "npm:^10.9.1" typescript: "npm:^5.2.2" languageName: unknown @@ -31682,9 +31682,9 @@ __metadata: languageName: node linkType: hard -"react-i18next@npm:^13.3.0": - version: 13.5.0 - resolution: "react-i18next@npm:13.5.0" +"react-i18next@npm:^14.0.0": + version: 14.0.0 + resolution: "react-i18next@npm:14.0.0" dependencies: "@babel/runtime": "npm:^7.22.5" html-parse-stringify: "npm:^3.0.1" @@ -31696,7 +31696,7 @@ __metadata: optional: true react-native: optional: true - checksum: 903b486d112cd0aa40bdc3afaefd0c32b91c0a1e3e3561367c8d91ddc0fbad9945f1d630c3ddcd4764795fc00e0887252e2d337256a825caf3a86de038f6b2db + checksum: e445768c576c5993e723375c030071e720abacc830c1810acfcec5c27185cba95affb11c0f71bb551ce98d30f6723e179de7f771487b1a1a6a9077821c5ec1f9 languageName: node linkType: hard