Answers for "[React Intl] Missing message for locale: "en""

0

[React Intl] Missing message for locale: "en"

// Disable missing translation message as translations will be added later.
// We can add a toggle for this later when we have most translations.

// eslint-disable-next-line
const consoleError = console.error.bind(console);
// eslint-disable-next-line
console.error = (message, ...args) => {
  if (
    typeof message === 'string' &&
    message.startsWith('[React Intl] Missing message:')
  ) {
    return;
  }
  consoleError(message, ...args);
};
Posted by: Guest on December-29-2020

Code answers related to "[React Intl] Missing message for locale: "en""

Code answers related to "Javascript"

Browse Popular Code Answers by Language