0
Class Test. I have error line 14. Thanks you sir.
Class Test jsx. I have error line 14. https://code.sololearn.com/WT7h3AC9rGBQ/?ref=app
1 Respuesta
+ 1
Remove the parentheses from around your return object in your React class and it should work.
return (<h1> Hello World! </h1>);
To
return <h1> Hello World! </h1>;
make sure that the object is on the same line as the return! <--- this seems to be the key!