Removed position from component upload

This commit is contained in:
Lucas Oliveira 2023-12-04 15:56:07 -03:00
commit 6e353ba3ee

View file

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