From a804f8d31ad9a3f5e55779e78d068143e0b888ff Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 21 Oct 2024 15:20:57 +0530 Subject: [PATCH] feat: show only 5 rows of data when previewing --- src/components/molecules/InterpretationLog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index 0d660e5e..2883233c 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -173,7 +173,7 @@ export const InterpretationLog: React.FC = ({ isOpen, se - {tableData.map((row, index) => ( + {tableData.slice(0, Math.min(5, tableData.length)).map((row, index) => ( {columns.map((column) => ( {row[column]}