I had this error on the beginning of tutorial. It is very much discouraging when you start from errors.
`
‘Message’ cannot be used as a JSX component.
Its type ‘() => void’ is not a valid JSX element type.
Type ‘() => void’ is not assignable to type ‘(props: any, deprecatedLegacyContext?: any) => ReactNode’.
Type ‘void’ is not assignable to type ‘ReactNode’.ts(2786)
And error disappeared and I’m filling like an idiot. Sorry. I will read guidelines and will behave.
1 Like
I am encountering this problem. How did it just disappear? Did it just disappear without you doing anything?
Haha we’ve all been there before, classic “ops i capitalized or spelled something wrong”