This commit is contained in:
Inohara 2023-04-03 13:43:27 +04:00
parent 9876a17856
commit 89fcb3cbca

View File

@ -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>