Skip to content

Commit

Permalink
Clean up based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
mofojed committed Apr 3, 2024
1 parent 42ac99d commit 27e1744
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/ui/src/js/src/layout/ReactPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@ function ReactPanel({ children, title }: ReactPanelProps) {

return portal
? ReactDOM.createPortal(
<ReactPanelContext.Provider value={panelId} key={contentKey}>
<ReactPanelContext.Provider value={panelId}>
{children}
</ReactPanelContext.Provider>,
portal
portal,
contentKey
)
: null;
}
Expand Down

0 comments on commit 27e1744

Please sign in to comment.