I’ve just installed a new project with the same dependencies as game-hub repository.
But I got this weird error for almost every component in chakra ui.
What am I missing here ?
Thank you for your time.
I’ve just installed a new project with the same dependencies as game-hub repository.
But I got this weird error for almost every component in chakra ui.
Thank you for your time.
If you’d hover mouse over so it can be read, or paste the message
The first error is resolved by choosing Typescript Version to Use workspace Version.
Now I got a new error in this IconList component
Oh turns out I used the wrong version of react-icons as opposed to the ultimate react course 1
Looks like you need to set a type to receive, looks like a string so by icon place < string> or some kind of htmlelement type.
Or the as keyword might be trying to assign icon as the type rather than a type attributed to it.