#### Tasks - [ ] Extract the `<li>` containing "Pizzas" from the `<Restaurant />` component to a new component named Order. - [ ] Move the declaration of the orders state and the orderOne function from the `<Restaurant />` component to the new `<Order />` component. - [ ] Use the `<Order />` component in the `<ul>` list of the `<Restaurant />` component. Dependent on #10 ### Tests: - [ ] The pizza order is still rendered on the page - [ ] Clicking on the "Add" button still increments the number of orders.
Tasks
<li>containing "Pizzas" from the<Restaurant />component to a new component named Order.<Restaurant />component to the new<Order />component.<Order />component in the<ul>list of the<Restaurant />component.Dependent on #10
Tests: