Skip to content

Commit

Permalink
fix: move expect-error comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Apr 22, 2024
1 parent 450724d commit 9b111f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',

Expand Down

0 comments on commit 9b111f4

Please sign in to comment.