Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Kuhlmay committed Nov 4, 2023
1 parent 3ac0227 commit 1fb65b5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
6 changes: 0 additions & 6 deletions Build/Sources/components/ReactFlow/ReactFlowComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ export const ReactFlowComponent = (props) => {
const nodeTypes = useMemo(() => ({ customModel: CustomModelNode }), []);
const [reactFlowInstance, setReactFlowInstance] = useState(null);



useEffect(() => {
setId(props.nodesIdCounter);
}, [props.nodesIdCounter]);

const onConnect = useCallback(
(connection) => props.setEdges((eds) => addEdge(connection, eds)),
[props.setEdges]
Expand Down
Loading

0 comments on commit 1fb65b5

Please sign in to comment.