From 27e17445ca67fd2793b8c947c693ae2270f57839 Mon Sep 17 00:00:00 2001 From: mikebender Date: Wed, 3 Apr 2024 17:02:31 -0400 Subject: [PATCH] Clean up based on review --- plugins/ui/src/js/src/layout/ReactPanel.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/ui/src/js/src/layout/ReactPanel.tsx b/plugins/ui/src/js/src/layout/ReactPanel.tsx index 09bc8ed64..8bc7d255e 100644 --- a/plugins/ui/src/js/src/layout/ReactPanel.tsx +++ b/plugins/ui/src/js/src/layout/ReactPanel.tsx @@ -116,10 +116,11 @@ function ReactPanel({ children, title }: ReactPanelProps) { return portal ? ReactDOM.createPortal( - + {children} , - portal + portal, + contentKey ) : null; }