5

I need to hide some errors (that contain "props.style"):

enter image description here

enter image description here

that are contaminating my developer console. I figure hiding them by the word will be best. I have tried adding a few regex patterns on SO such as this one, to the filter, but they seem to hide all errors. How do I hide just the errors with "props.style" in them?

BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287
  • Does this answer your question? [Filter the Chrome console messages](https://stackoverflow.com/questions/44130085/filter-the-chrome-console-messages) – SuperStormer May 23 '23 at 05:38

1 Answers1

9

Use the negative filter: -props.style

Regular expressions also work: -/props\.style/

Kayce Basques
  • 23,849
  • 11
  • 86
  • 120
  • That's fantastic thank you! I also hid other errors in the same filter by just adding them without a comma, such as `-props.style -someOtherError` – BeniaminoBaggins Dec 21 '17 at 20:53