changed button tag to typography

This commit is contained in:
amit
2024-11-12 10:42:40 +05:30
parent c7cb8c222f
commit ca28135962

View File

@@ -120,7 +120,7 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe
Download as JSON
</a>
</Typography>
<Button
<Typography
onClick={downloadCSV}
sx={{
textTransform: 'none',
@@ -129,12 +129,13 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe
background: 'none',
'&:hover': {
background: 'none',
textDecoration: 'underline',
},
cursor: 'pointer',
}}
>
Download as CSV
</Button>
</Typography>
</Box>
{tableData.length > 0 ? (
<TableContainer component={Paper} sx={{ maxHeight: 440, marginTop: 2 }}>