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