1
This commit is contained in:
parent
9876a17856
commit
89fcb3cbca
@ -18,6 +18,8 @@ export default function ProductPage(){
|
||||
setProduct(productModel)
|
||||
}
|
||||
|
||||
fetch('')
|
||||
|
||||
|
||||
|
||||
return(
|
||||
@ -66,10 +68,10 @@ export default function ProductPage(){
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody">
|
||||
{products.map((product) =>
|
||||
{products.map((product, index) =>
|
||||
|
||||
<tr>
|
||||
<td>{products.length}</td>
|
||||
<td>{}</td>
|
||||
<td>{product.name}</td>
|
||||
<td>{product.cost}</td>
|
||||
</tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user