Skip to content

Commit fc35ae9

Browse files
authored
Update 4.html
1 parent f574225 commit fc35ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

4.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h1>Shopping List for {this.props.name}</h1>
8686

8787
// Below is the render function from react-dom
8888
// It injects a react component into a component in the regular dom.
89-
render(<ShoppingList name="Whatever" />, baseDiv)
89+
render(<ShoppingList name="Whatever"></ShoppingList>, baseDiv)
9090
</code></pre>
9191
</section>
9292
<section>

0 commit comments

Comments
 (0)