Skip to content

Commit 4603736

Browse files
committed
revert this, handled better in julianna-langston#727
1 parent ef719ef commit 4603736

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/translator.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,6 @@ export class TranslationManager {
7878
code,
7979
createIntl({
8080
locale: code,
81-
onError: (...args) => {
82-
// Suppress missing translation errors
83-
if ((args[0].code as string) === "MISSING_DATA") {
84-
return;
85-
}
86-
},
8781
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
8882
messages: translations[code]
8983
})

0 commit comments

Comments
 (0)