From efd58383b9a113e00e2bc9cde0d107ac8e5ebe1f Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Thu, 20 Jul 2023 10:04:05 -0300 Subject: [PATCH] Fixed unnecessary calls --- src/frontend/src/util/reactflowUtils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/util/reactflowUtils.ts b/src/frontend/src/util/reactflowUtils.ts index d09ac3455..77e8e0cdd 100644 --- a/src/frontend/src/util/reactflowUtils.ts +++ b/src/frontend/src/util/reactflowUtils.ts @@ -45,8 +45,8 @@ export function cleanEdges({ } } } - if (changed) { - updateEdge(newEdges); - } }); + if (changed) { + updateEdge(newEdges); + } }