|
@@ -120,7 +120,7 @@ function Row(props) {
|
|
|
<TableCell align="left">{(row.name)}</TableCell>
|
|
|
<TableCell align="left">{row.price}</TableCell>
|
|
|
{/* <TableCell align='center'>{}</TableCell> */}
|
|
|
- <TableCell align='left'>{Array.isArray(row.categories) ? row.categories[0].name : 0}</TableCell>
|
|
|
+ <TableCell align='left'>{Array.isArray(row.categories) ? row.categories[0]?.name : 0}</TableCell>
|
|
|
</TableRow>
|
|
|
<TableRow>
|
|
|
<TableCell style={{ paddingBottom: 0, paddingTop: 0 }} colSpan={6}>
|