fix treereducer getting out of sync

This commit is contained in:
Evan Simkowitz 2024-08-29 12:38:13 -07:00
parent c440fb774e
commit 87d69eb5bc
No known key found for this signature in database

View File

@ -335,7 +335,7 @@ const OverlayNode = memo(({ node, layoutModel }: OverlayNodeProps) => {
} }
}), }),
}), }),
[node, additionalProps?.rect, layoutModel.displayContainerRef] [node, additionalProps?.rect, layoutModel.displayContainerRef, layoutModel.onDrop, layoutModel.treeReducer]
); );
// Register the overlay node as a drop target // Register the overlay node as a drop target