From 7646d49dabf0eb4e81095c73d281f73cd68d3b05 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Wed, 26 Jun 2024 17:46:56 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20(NewFlowCardComponent,=20undrawC?= =?UTF-8?q?ards):=20add=20console.error=20statements=20for=20debugging=20f?= =?UTF-8?q?low=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newFlowModal/components/NewFlowCardComponent/index.tsx | 4 ++++ .../src/modals/newFlowModal/components/undrawCards/index.tsx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/frontend/src/modals/newFlowModal/components/NewFlowCardComponent/index.tsx b/src/frontend/src/modals/newFlowModal/components/NewFlowCardComponent/index.tsx index 5d4a60385..10af19757 100644 --- a/src/frontend/src/modals/newFlowModal/components/NewFlowCardComponent/index.tsx +++ b/src/frontend/src/modals/newFlowModal/components/NewFlowCardComponent/index.tsx @@ -18,7 +18,11 @@ export default function NewFlowCardComponent() { return ( { + console.error("flow.data", "new flow"); + console.error("flow.data", "new flow"); addFlow(true).then((id) => { + console.error("flow.data", id); + console.error("flow.data", id); setFolderUrl(folderId ?? ""); navigate(`/flow/${id}${folderId ? `/folder/${folderId}` : ""}`); }); diff --git a/src/frontend/src/modals/newFlowModal/components/undrawCards/index.tsx b/src/frontend/src/modals/newFlowModal/components/undrawCards/index.tsx index d872fabe3..33e8c8431 100644 --- a/src/frontend/src/modals/newFlowModal/components/undrawCards/index.tsx +++ b/src/frontend/src/modals/newFlowModal/components/undrawCards/index.tsx @@ -105,8 +105,12 @@ export default function UndrawCardComponent({ return ( { + console.error("flow.data", flow.data); + console.error("flow.data", flow); + updateIds(flow.data!); addFlow(true, flow).then((id) => { + console.error("flow.data", flow); setFolderUrl(folderId ?? ""); navigate(`/flow/${id}${folderId ? `/folder/${folderId}` : ""}`); });