chore(core): cleanup

This commit is contained in:
braks
2024-02-05 07:51:12 +01:00
committed by Braks
parent 0e03b16328
commit eca0447d3b
3 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -601,7 +601,7 @@ export function useActions(
}
// todo: maybe we should use a more immutable approach, this is a bit too much mutation and hard to maintain
const updateNode: Actions['updateNode'] = (id, nodeUpdate, options = { replace: true }) => {
const updateNode: Actions['updateNode'] = (id, nodeUpdate, options = { replace: false }) => {
const node = findNode(id)
if (!node) {