mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
fix treereducer getting out of sync
This commit is contained in:
parent
c440fb774e
commit
87d69eb5bc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user