Skip to content

Commit eb7872a

Browse files
Update src/components/App.tsx
1 parent 8c3415b commit eb7872a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/App.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,10 @@ function App() {
182182
)
183183
return;
184184

185-
edgeUpdateSuccessful.current = true;
186185
takeSnapshot();
186+
187+
edgeUpdateSuccessful.current = true;
188+
187189
setEdges((edges) => updateEdge(oldEdge, newConnection, edges));
188190
};
189191

0 commit comments

Comments
 (0)