From 01b142007b96490d0723b54ebd3a3f0f579dbf6c Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 20 May 2025 20:34:33 +0530 Subject: [PATCH] fix: !set width --- src/components/recorder/LeftSidePanel.tsx | 2 -- 1 file changed, 2 deletions(-) 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); } }