From 7605b9fc1413159cbc395ce366a256dde78a793d Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 11 Oct 2024 01:29:43 +0530 Subject: [PATCH] feat: remove duplicate code --- src/components/molecules/RunContent.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/molecules/RunContent.tsx b/src/components/molecules/RunContent.tsx index 8c8199c0..3558f913 100644 --- a/src/components/molecules/RunContent.tsx +++ b/src/components/molecules/RunContent.tsx @@ -123,10 +123,6 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe || (Object.keys(row.serializableOutput).length === 0 && Object.keys(row.binaryOutput).length === 0) ? The output is empty. : null} - {!row || !row.serializableOutput || !row.binaryOutput - || (Object.keys(row.serializableOutput).length === 0 && Object.keys(row.binaryOutput).length === 0) - ? The output is empty. : null} - {row.serializableOutput && Object.keys(row.serializableOutput).length !== 0 &&