From 3c6ab9cf0a4410604ef475567f8254942c2d7455 Mon Sep 17 00:00:00 2001 From: Jo Humphrey <31373245+jamdelion@users.noreply.github.com> Date: Wed, 8 Jan 2025 14:55:05 +0000 Subject: [PATCH] Undo format changes --- .../src/pages/FlowEditor/components/forms/FormModal.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/editor.planx.uk/src/pages/FlowEditor/components/forms/FormModal.tsx b/editor.planx.uk/src/pages/FlowEditor/components/forms/FormModal.tsx index ec7ca4f9f8..721c7a5b6e 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/forms/FormModal.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/forms/FormModal.tsx @@ -167,20 +167,17 @@ const FormModal: React.FC<{ connect(parent, data, { before }); } else { const parsedData = parseFormValues(Object.entries(data)); - console.log("parsedData", parsedData); const parsedChildren = children?.map((o: any) => parseFormValues(Object.entries(o)), ) || undefined; if (handleDelete) { - console.log("updating node", parsedData, parsedChildren); updateNode( { id, ...parsedData }, { children: parsedChildren }, ); } else { - console.log("adding node"); addNode(parsedData, { children: parsedChildren, parent,