Getting IntelliJ warnings everywhere I use the react useContext() hook

Viewed 167

I have a few contexts I wrote in my project, and everywhere I try to use them I get warnings. So what I did was:

  1. Cloned this example of using react context hooks.
  2. Verified that the useContext(MusicPlayerContext) line had no warnings in the cloned project.
  3. Pasted the context file and the file that consumes it into my project.
  4. Verified that I even get the same warning on the useContext(MusicPlayerContext) line in my project.

I am sure this is something like a setting or something really simple and/or stupid, I just can't figure it out. The javascript signature check warning seems to be enabled in both projects.

enter image description here

0 Answers
Related