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); } }