diff --git a/extensions/default/src/ViewerLayout/index.jsx b/extensions/default/src/ViewerLayout/index.jsx index cd743ad44..64dd6222b 100644 --- a/extensions/default/src/ViewerLayout/index.jsx +++ b/extensions/default/src/ViewerLayout/index.jsx @@ -27,10 +27,14 @@ function ViewerLayout({ leftPanels, rightPanels, viewports, - children: ViewportGrid, + children, }) { const [displaySets, setDisplaySets] = useState({}); + const ViewportGrid = React.Children.only(children); + debugger; + + /** * Set body classes (tailwindcss) that don't allow vertical * or horizontal overflow (no scrolling). Also guarantee window @@ -105,10 +109,10 @@ function ViewerLayout({
- + />*/} {/* viewportContents={[ - +
test