Skip to content

Commit d88461e

Browse files
Working in the Restaurant component
1 parent 62a1aa4 commit d88461e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/Restaurant/Restaurant.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ const Restaurant = () => {
66
<ul className="restaurant__list">
77
<li className="restaurant__item">
88
Pizzas: {pizzas}{" "}
9-
<button className="button restaurant__button">Add</button>
9+
<button className="button restaurant__button" onClick={Restaurant}>
10+
Add
11+
</button>
1012
</li>
1113
</ul>
1214
</section>

0 commit comments

Comments
 (0)