React Error
I am getting this error in an extremely simple page (using pages router)
I have no idea why it wants me to import React when in all my other pages (probably 30+) it doesn't ask me to.
I have tried restarting typescript server multiple times.
Note: The page runs perfectly and does not give any console errors I have no idea why it is detecting an error.
Solution:Jump to solution
Solved it, I guess typescript was just being stupid with that file (I had to delete it and recreate it for anyone who runs into this issue).
1 Reply
Solution
Solved it, I guess typescript was just being stupid with that file (I had to delete it and recreate it for anyone who runs into this issue).