From 9b111f4d47451294dfe928395071e8cffdc71322 Mon Sep 17 00:00:00 2001 From: Rexogamer Date: Mon, 22 Apr 2024 22:39:51 +0100 Subject: [PATCH] fix: move expect-error comment --- i18n/i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/i18n.ts b/i18n/i18n.ts index 303d793c..e18701f1 100644 --- a/i18n/i18n.ts +++ b/i18n/i18n.ts @@ -6,10 +6,10 @@ import {resources} from '@rvmob-i18n/languages'; import {languageDetectorPlugin} from '@rvmob-i18n/getLanguage'; import {Text} from '@rvmob/components/common/atoms'; -// @ts-expect-error upstream typing issue (https://github.com/i18next/react-i18next/issues/1648) i18n .use(initReactI18next) // passes i18n down to react-i18next .use(languageDetectorPlugin) // get the user's language if it's stored + // @ts-expect-error upstream typing issue (https://github.com/i18next/react-i18next/issues/1648) .init({ fallbackLng: 'en',