chore: prettier

This commit is contained in:
karishmas6
2024-10-19 19:21:43 +05:30
parent 9775971de9
commit a6fcf31f4b

View File

@@ -169,33 +169,33 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
columns.map((column) => ( columns.map((column) => (
<TableCell key={column}>{column}</TableCell> <TableCell key={column}>{column}</TableCell>
)) ))
) : "" } ) : ""}
</TableRow> </TableRow>
</TableHead> </TableHead>
{tableData.length > 0 ? ( {tableData.length > 0 ? (
tableData.map((row, index) => ( tableData.map((row, index) => (
<TableBody> <TableBody>
<TableRow key={index}> <TableRow key={index}>
{columns.map((column) => ( {columns.map((column) => (
<TableCell key={column}>{row[column]}</TableCell> <TableCell key={column}>{row[column]}</TableCell>
))} ))}
</TableRow> </TableRow>
</TableBody> </TableBody>
)) ))
) : ( ) : (
hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction ? ( hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction ? (
<> <>
<Typography variant="h6" gutterBottom>
You've successfully trained the robot to perform actions! Click on the button below to get a preview of data your robot will extract.
</Typography>
<SidePanelHeader />
</>
) : (
<Typography variant="h6" gutterBottom> <Typography variant="h6" gutterBottom>
It looks like you have not selected anything for extraction yet. Once you do, the robot will show a preview of your selections here. You've successfully trained the robot to perform actions! Click on the button below to get a preview of data your robot will extract.
</Typography> </Typography>
) <SidePanelHeader />
)} </>
) : (
<Typography variant="h6" gutterBottom>
It looks like you have not selected anything for extraction yet. Once you do, the robot will show a preview of your selections here.
</Typography>
)
)}
</Table> </Table>
</TableContainer> </TableContainer>
<div style={{ float: 'left', clear: 'both' }} ref={logEndRef} /> <div style={{ float: 'left', clear: 'both' }} ref={logEndRef} />