#anyone help ,what this warning is about?

21 messages · Page 1 of 1 (latest)

grand igloo
rocky wharf
#

looks like you're trying to render the value true as a JSX (react) element

grand igloo
rocky wharf
#

Well, at some point in your return value in features.jsx, probably line 26, you have a value which is true or evaluates to it. React doesn't know what to do with it.

rocky wharf
grand igloo
rocky wharf
#

Interesting, there's nothing on line 26 that would point to that.

grand igloo
rocky wharf
#

I'd guess there's some post-processing going on to transform your files.
I'll have a quick look

#

What happens if you click 26:20 on the error? Does it take you to the source file and highlight?

grand igloo
#

No

#

Nothing happens

rocky wharf
#

ok I'll have a look

#

unfortunately I have to leave soon, but I can't seem to locate the issue immediately

#

I'll have a look tomorrow if someone else doesn't help you before then

grand igloo
#

No problem, thanks for your consideration 😊

rocky wharf
#

at a guess, and it is a guess mind, you're setting the ref incorrectly

vocal crystal
grand igloo
vocal crystal