From 6e353ba3ee216ba274f2ae0c703d50561f2f16da Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Mon, 4 Dec 2023 15:56:07 -0300 Subject: [PATCH] Removed position from component upload --- src/frontend/src/contexts/flowsContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/contexts/flowsContext.tsx b/src/frontend/src/contexts/flowsContext.tsx index 94f9428e5..9c79ccb1b 100644 --- a/src/frontend/src/contexts/flowsContext.tsx +++ b/src/frontend/src/contexts/flowsContext.tsx @@ -362,7 +362,7 @@ export function FlowsProvider({ children }: { children: ReactNode }) { ) { reject("You cannot upload a component as a flow or vice versa"); } else { - id = await addFlow(newProject, fileData, undefined, position); + id = await addFlow(newProject, fileData); resolve(id); } }