Remove spectific error at console log

 avatar
shin98
plain_text
7 months ago
242 B
0
Indexable
Never
console.error = (function (_error) {
  return function (message) {
    if (
      typeof message !== 'string' ||
      message.indexOf('component is `contentEditable`') === -1
    ) {
      _error.apply(console);
    }
  };
})(console.error);
Leave a Comment