feat: remove duplicate code

This commit is contained in:
karishmas6
2024-10-11 01:29:43 +05:30
parent 0378652bfa
commit 7605b9fc14

View File

@@ -123,10 +123,6 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe
|| (Object.keys(row.serializableOutput).length === 0 && Object.keys(row.binaryOutput).length === 0)
? <Typography>The output is empty.</Typography> : null}
{!row || !row.serializableOutput || !row.binaryOutput
|| (Object.keys(row.serializableOutput).length === 0 && Object.keys(row.binaryOutput).length === 0)
? <Typography>The output is empty.</Typography> : null}
{row.serializableOutput &&
Object.keys(row.serializableOutput).length !== 0 &&
<div>