diff --git a/part1/unicafe/src/App.js b/part1/unicafe/src/App.js index 264a2cd..da124b5 100644 --- a/part1/unicafe/src/App.js +++ b/part1/unicafe/src/App.js @@ -2,12 +2,13 @@ import { useState } from "react"; const Button = (props) => { return ; }; +// StatistticsLine should display as a HTML table const StatisticsLine = ({ text, value }) => { return ( -

- {" "} - {text} {value}{" "} -

+ + {text} + {value} + ); }; const Statistics = (props) => {