feat: move typography outside table body

This commit is contained in:
karishmas6
2024-10-19 19:21:22 +05:30
parent 70913e2c8f
commit 9775971de9

View File

@@ -169,19 +169,18 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
columns.map((column) => (
<TableCell key={column}>{column}</TableCell>
))
) : (
<TableCell align="center">No Data</TableCell>
)}
) : "" }
</TableRow>
</TableHead>
<TableBody>
{tableData.length > 0 ? (
tableData.map((row, index) => (
<TableBody>
<TableRow key={index}>
{columns.map((column) => (
<TableCell key={column}>{row[column]}</TableCell>
))}
</TableRow>
</TableBody>
))
) : (
hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction ? (
@@ -197,7 +196,6 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
</Typography>
)
)}
</TableBody>
</Table>
</TableContainer>
<div style={{ float: 'left', clear: 'both' }} ref={logEndRef} />