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}` : ""}`); });