Removed position from component upload
This commit is contained in:
parent
7e12316022
commit
6e353ba3ee
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ export function FlowsProvider({ children }: { children: ReactNode }) {
|
||||||
) {
|
) {
|
||||||
reject("You cannot upload a component as a flow or vice versa");
|
reject("You cannot upload a component as a flow or vice versa");
|
||||||
} else {
|
} else {
|
||||||
id = await addFlow(newProject, fileData, undefined, position);
|
id = await addFlow(newProject, fileData);
|
||||||
resolve(id);
|
resolve(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue