5breact intl 5d missing message for locale 3a 22en 22

Solutions on MaxInterview for 5breact intl 5d missing message for locale 3a 22en 22 by the best coders in the world

showing results for - " 5breact intl 5d missing message for locale 3a 22en 22"
Jayson
13 Nov 2019
1// Disable missing translation message as translations will be added later.
2// We can add a toggle for this later when we have most translations.
3
4// eslint-disable-next-line
5const consoleError = console.error.bind(console);
6// eslint-disable-next-line
7console.error = (message, ...args) => {
8  if (
9    typeof message === 'string' &&
10    message.startsWith('[React Intl] Missing message:')
11  ) {
12    return;
13  }
14  consoleError(message, ...args);
15};