Hi there, anyone that knows why my single-line comments are not working?I can’t seem to figure it out…
Desired result:
Hi there, anyone that knows why my single-line comments are not working?I can’t seem to figure it out…
Invalid syntax, it’s JSX so you can’t use plain JS comments, it should be { /* I am a comment */ }
. If you use whatever the keystroke is to comment a line (on VSCode it’s CMD + /) on one of the lines in that render
is should comment the line properly of you need an example