Added curly brackets to comment in JSX element (#34694)
Added curly brackets to comment in JSX element to hide it from the rendered DOMpull/35326/head
parent
f366b32d92
commit
a17b123510
|
@ -62,7 +62,7 @@ class Navbar extends React.Component {
|
|||
render() {
|
||||
return (
|
||||
<div>
|
||||
<h1>Hello, my name is: /* your code here */ </h1>
|
||||
<h1>Hello, my name is: {/* your code here */} </h1>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue