Compare commits
1 Commits
0b2edeaac3
...
d979aab7cb
Author | SHA1 | Date | |
---|---|---|---|
d979aab7cb |
@ -154,13 +154,13 @@ function App() {
|
||||
<h3>{name}</h3>
|
||||
<Table striped bordered hover>
|
||||
<tbody>
|
||||
{food.map((f: any, index: number) =>
|
||||
{food?.length>0?food.map((f: any, index: number) =>
|
||||
<tr key={index}>
|
||||
<td>{f.amount}</td>
|
||||
<td>{f.name}</td>
|
||||
<td>{f.price}</td>
|
||||
</tr>
|
||||
)}
|
||||
):<h1>Hmmmmm podivné.... nic se nevrátilo</h1>}
|
||||
</tbody>
|
||||
</Table>
|
||||
</Col>
|
||||
|
Loading…
x
Reference in New Issue
Block a user