diff --git a/frontend/i18next-parser.config.ts b/frontend/i18next-parser.config.ts index 6c2bf253..9c1772f7 100644 --- a/frontend/i18next-parser.config.ts +++ b/frontend/i18next-parser.config.ts @@ -22,7 +22,14 @@ const config: UserConfig = { ts: [ { lexer: "JavascriptLexer", - functions: ["t", "translatedError"], + functions: ["t"], + namespaceFunctions: ["useTranslation", "withTranslation"], + }, + ], + tsx: [ + { + lexer: "JsxLexer", + functions: ["t"], namespaceFunctions: ["useTranslation", "withTranslation"], }, ],