Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component
This commit is contained in:
commit
df77c25138
1 changed files with 0 additions and 8 deletions
|
|
@ -14,7 +14,6 @@ import { darkContext } from "../../contexts/darkContext";
|
||||||
import { typesContext } from "../../contexts/typesContext";
|
import { typesContext } from "../../contexts/typesContext";
|
||||||
import { postCustomComponent, postValidateCode } from "../../controllers/API";
|
import { postCustomComponent, postValidateCode } from "../../controllers/API";
|
||||||
import { APIClassType } from "../../types/api";
|
import { APIClassType } from "../../types/api";
|
||||||
import { cleanEdges } from "../../utils/reactflowUtils";
|
|
||||||
import BaseModal from "../baseModal";
|
import BaseModal from "../baseModal";
|
||||||
|
|
||||||
export default function CodeAreaModal({
|
export default function CodeAreaModal({
|
||||||
|
|
@ -114,13 +113,6 @@ export default function CodeAreaModal({
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleClick() {
|
function handleClick() {
|
||||||
cleanEdges({
|
|
||||||
flow: {
|
|
||||||
nodes: reactFlowInstance.getNodes(),
|
|
||||||
edges: reactFlowInstance.getEdges(),
|
|
||||||
},
|
|
||||||
updateEdge: reactFlowInstance.setEdges,
|
|
||||||
});
|
|
||||||
processCode();
|
processCode();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue