Skip to content

Commit

Permalink
fix(138): update useEffect dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vanch3d committed Oct 2, 2023
1 parent aae60eb commit 908edcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const useGetFlowElements = () => {

setNodes([nodeEdge, ...applyLayout(nodes, groups)])
setEdges([...edges])
}, [bridges, adapters, listeners, groups, setNodes, setEdges, t, options, theme])
}, [bridges, adapters, listeners, groups, setNodes, setEdges, t, options, theme, adapterTypes?.items])

return { nodes, edges, onNodesChange, onEdgesChange }
}
Expand Down

0 comments on commit 908edcf

Please sign in to comment.