From 87d69eb5bca6f50af9ca723dd9121a2f0f2b9a2b Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 29 Aug 2024 12:38:13 -0700 Subject: [PATCH] fix treereducer getting out of sync --- frontend/layout/lib/TileLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/layout/lib/TileLayout.tsx b/frontend/layout/lib/TileLayout.tsx index ff9bf3eb9..c79146ea9 100644 --- a/frontend/layout/lib/TileLayout.tsx +++ b/frontend/layout/lib/TileLayout.tsx @@ -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