From 9775971de92d8ee68a9dedb300d329800cf0bc44 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 19 Oct 2024 19:21:22 +0530 Subject: [PATCH] feat: move typography outside table body --- src/components/molecules/InterpretationLog.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index 042ceaf5..abfaa42f 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -169,19 +169,18 @@ export const InterpretationLog: React.FC = ({ isOpen, se columns.map((column) => ( {column} )) - ) : ( - No Data - )} + ) : "" } - {tableData.length > 0 ? ( tableData.map((row, index) => ( + {columns.map((column) => ( {row[column]} ))} + )) ) : ( hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction ? ( @@ -197,7 +196,6 @@ export const InterpretationLog: React.FC = ({ isOpen, se ) )} -