🔧 chore(EditNodeModal): refactor handleOnNewValue function to improve code readability and maintainability

This commit is contained in:
Cristhian Zanforlin Lousa 2023-07-14 09:48:56 -03:00
commit 8668e82fff

View file

@ -201,7 +201,7 @@ const EditNodeModal = forwardRef(
editNode={true}
value={data.node.template[n].value ?? ""}
onChange={(t) => {
data.node.template[n].value = t;
handleOnNewValue(t, n);
}}
/>
</div>