Published
- 1 min read
cannot be used as a jsx component
The solution for this is noted below
cannot be used as a jsx component
Solution
//Adding @types/react to resolutions in package.json fixed it:
"resolutions": { "@types/react": "17.0.43" }
Try other methods by searching on the site. That is if this doesn’t work