chore(utils): cleanup

This commit is contained in:
moklick
2023-06-12 12:14:57 +02:00
parent 82d8e91a09
commit cefdfd4e70
3 changed files with 2 additions and 2 deletions
-1
View File
@@ -194,7 +194,6 @@ function onPointerDown(
if (connection.source !== connection.target && handleDomNode) {
resetRecentHandle(prevActiveHandle, lib);
prevActiveHandle = handleDomNode;
// @todo: remove the old class names "react-flow__handle-" in the next major version
handleDomNode.classList.add('connecting', `${lib}-flow__handle-connecting`);
handleDomNode.classList.toggle('valid', isValid);
handleDomNode.classList.toggle(`${lib}-flow__handle-valid`, isValid);