fix(react): use equlity check for adopt user nodes
This commit is contained in:
@@ -46,7 +46,7 @@ const createRFStore = ({
|
||||
//
|
||||
// When this happens, we take the note objects passed by the user and extend them with fields
|
||||
// relevant for internal React Flow operations.
|
||||
adoptUserNodes(nodes, nodeLookup, parentLookup, { nodeOrigin, elevateNodesOnSelect });
|
||||
adoptUserNodes(nodes, nodeLookup, parentLookup, { nodeOrigin, elevateNodesOnSelect, checkEquality: true });
|
||||
|
||||
set({ nodes });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user