removed unused createFlowComponent

This commit is contained in:
Lucas Oliveira 2024-01-31 10:56:55 +01:00
commit cc548ba604

View file

@ -113,7 +113,7 @@ export default function NodeToolbarComponent({
setShowNode(data.showNode ?? true ? false : true); setShowNode(data.showNode ?? true ? false : true);
break; break;
case "Download": case "Download":
downloadNode(createFlowComponent(cloneDeep(data), version)); downloadNode(flowComponent!);
break; break;
case "SaveAll": case "SaveAll":
saveComponent(cloneDeep(data), false); saveComponent(cloneDeep(data), false);