diff --git a/packages/ui-default/components/scratchpad/index.jsx b/packages/ui-default/components/scratchpad/index.jsx index 6bfbba48f..918e030b7 100644 --- a/packages/ui-default/components/scratchpad/index.jsx +++ b/packages/ui-default/components/scratchpad/index.jsx @@ -34,10 +34,7 @@ function buildNestedPane([a, ...panes], mode = 'horizontal') { const pages = { problem: { icon: () => , - component: () => { - console.log($('.problem-content')); - return ; - }, + component: () => , }, }; @@ -78,14 +75,16 @@ export default function ScratchpadContainer() { }); }; + const showSidebar = Object.keys(pages).length > 1; + return ( -
+
{Object.keys(pages).map((key) => { const Component = pages[key].icon; return (