chore: lint
This commit is contained in:
@@ -164,28 +164,28 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
|
|||||||
>
|
>
|
||||||
{tableData.length > 0 ? (
|
{tableData.length > 0 ? (
|
||||||
<>
|
<>
|
||||||
<TableContainer component={Paper}>
|
<TableContainer component={Paper}>
|
||||||
<Table sx={{ minWidth: 650 }} stickyHeader aria-label="output data table">
|
<Table sx={{ minWidth: 650 }} stickyHeader aria-label="output data table">
|
||||||
<TableHead>
|
<TableHead>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
{columns.map((column) => (
|
|
||||||
<TableCell key={column}>{column}</TableCell>
|
|
||||||
))}
|
|
||||||
</TableRow>
|
|
||||||
</TableHead>
|
|
||||||
<TableBody>
|
|
||||||
{tableData.slice(0, Math.min(5, tableData.length)).map((row, index) => (
|
|
||||||
<TableRow key={index}>
|
|
||||||
{columns.map((column) => (
|
{columns.map((column) => (
|
||||||
<TableCell key={column}>{row[column]}</TableCell>
|
<TableCell key={column}>{column}</TableCell>
|
||||||
))}
|
))}
|
||||||
</TableRow>
|
</TableRow>
|
||||||
))}
|
</TableHead>
|
||||||
</TableBody>
|
<TableBody>
|
||||||
</Table>
|
{tableData.slice(0, Math.min(5, tableData.length)).map((row, index) => (
|
||||||
</TableContainer>
|
<TableRow key={index}>
|
||||||
<span style={{ marginLeft: '15px', marginTop: '10px', fontSize: '12px'}}>Additional rows of data will be extracted once you finish recording. </span>
|
{columns.map((column) => (
|
||||||
</>
|
<TableCell key={column}>{row[column]}</TableCell>
|
||||||
|
))}
|
||||||
|
</TableRow>
|
||||||
|
))}
|
||||||
|
</TableBody>
|
||||||
|
</Table>
|
||||||
|
</TableContainer>
|
||||||
|
<span style={{ marginLeft: '15px', marginTop: '10px', fontSize: '12px' }}>Additional rows of data will be extracted once you finish recording. </span>
|
||||||
|
</>
|
||||||
) : (
|
) : (
|
||||||
<Grid container justifyContent="center" alignItems="center" style={{ height: '100%' }}>
|
<Grid container justifyContent="center" alignItems="center" style={{ height: '100%' }}>
|
||||||
<Grid item>
|
<Grid item>
|
||||||
|
|||||||
Reference in New Issue
Block a user