diff --git a/examples/EdgeWithButton/ButtonEdge.vue b/examples/EdgeWithButton/ButtonEdge.vue index e8b23c28..1d67efe6 100644 --- a/examples/EdgeWithButton/ButtonEdge.vue +++ b/examples/EdgeWithButton/ButtonEdge.vue @@ -17,7 +17,7 @@ interface CustomEdgeProps extends EdgeProps { const props = defineProps() const store = useVueFlow() const onEdgeClick = (evt: Event, id: string) => { - const edge = store.edges.find((edge) => edge.id === id) + const edge = store.getEdges.find((edge) => edge.id === id) if (edge) { store.hooks.elementsRemove.trigger([edge]) } diff --git a/examples/Stress/StressExample.vue b/examples/Stress/StressExample.vue index d527d67b..66675ebf 100644 --- a/examples/Stress/StressExample.vue +++ b/examples/Stress/StressExample.vue @@ -51,7 +51,6 @@ const updateElements = () => {