diff --git a/src/components/recorder/LeftSidePanel.tsx b/src/components/recorder/LeftSidePanel.tsx index 27a2a102..8b4027a4 100644 --- a/src/components/recorder/LeftSidePanel.tsx +++ b/src/components/recorder/LeftSidePanel.tsx @@ -76,12 +76,10 @@ export const LeftSidePanel = ( const innerHeightWithoutNavbar = window.innerHeight - 70; if (innerHeightWithoutNavbar <= workflowListHeight) { if (!hasScrollbar) { - setWidth(width - 10); setHasScrollbar(true); } } else { if (hasScrollbar && !alreadyHasScrollbar) { - setWidth(width + 10); setHasScrollbar(false); } }