From 203333ae0bdc97e540ca4df03d52cead7b16baa8 Mon Sep 17 00:00:00 2001 From: Emir Karabeg Date: Mon, 20 Jan 2025 19:54:17 -0800 Subject: [PATCH] Commented out state logger --- app/w/[id]/workflow.tsx | 6 +++--- .../components/sub-block/components/table.tsx | 8 -------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/app/w/[id]/workflow.tsx b/app/w/[id]/workflow.tsx index 52fa3e4077..aea6e87f2e 100644 --- a/app/w/[id]/workflow.tsx +++ b/app/w/[id]/workflow.tsx @@ -217,9 +217,9 @@ function WorkflowCanvas() { setSelectedBlockId(null) }, []) - useEffect(() => { - initializeStateLogger() - }, []) + // useEffect(() => { + // initializeStateLogger() + // }, []) /** * CSS keyframe animation for the dashed line effect diff --git a/app/w/components/workflow-block/components/sub-block/components/table.tsx b/app/w/components/workflow-block/components/sub-block/components/table.tsx index 2216345ac6..81ac2c2def 100644 --- a/app/w/components/workflow-block/components/sub-block/components/table.tsx +++ b/app/w/components/workflow-block/components/sub-block/components/table.tsx @@ -22,13 +22,6 @@ export function Table({ columns, blockId, subBlockId }: TableProps) { null ) - // Log component renders - console.log('Table component rendering', { - blockId, - subBlockId, - value, - }) - useEffect(() => { if (activePositionRef.current && document.activeElement === document.body) { const { rowIndex, column } = activePositionRef.current @@ -54,7 +47,6 @@ export function Table({ columns, blockId, subBlockId }: TableProps) { column: string, value: string ) => { - console.log('Cell change', { rowIndex, column, value }) const updatedRows = rows.map((row, idx) => idx === rowIndex ? {