Added curly brackets to comment in JSX element (#34694)

Added curly brackets to comment in JSX element to hide it from the rendered DOM
pull/35326/head
Theodoros Gkortsilas 2019-02-21 08:24:27 +00:00 committed by Manish Giri
parent f366b32d92
commit a17b123510
1 changed files with 1 additions and 1 deletions

View File

@ -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>
);
}