From dbb330c16bae268c5a6702895da06a2ae5b0228b Mon Sep 17 00:00:00 2001 From: arpitnath Date: Sat, 5 Aug 2023 23:26:05 +0530 Subject: [PATCH] fixes: leftsidebar border issues --- frontend/src/Editor/EditorFunc.jsx | 2 -- frontend/src/Editor/LeftSidebar/index.jsx | 2 -- 2 files changed, 4 deletions(-) diff --git a/frontend/src/Editor/EditorFunc.jsx b/frontend/src/Editor/EditorFunc.jsx index 6d3b56b380..136fc30e98 100644 --- a/frontend/src/Editor/EditorFunc.jsx +++ b/frontend/src/Editor/EditorFunc.jsx @@ -733,8 +733,6 @@ const EditorComponent = (props) => { appDefinition: updatedAppDefinition, }); computeComponentState(updatedAppDefinition.pages[currentPageId]?.components); - } else { - toast.error('No changes in diff [appDefinitionChanged]'); } // if (!opts.skipAutoSave) autoSave(); diff --git a/frontend/src/Editor/LeftSidebar/index.jsx b/frontend/src/Editor/LeftSidebar/index.jsx index 09a4ed00cd..9f353cb85a 100644 --- a/frontend/src/Editor/LeftSidebar/index.jsx +++ b/frontend/src/Editor/LeftSidebar/index.jsx @@ -88,8 +88,6 @@ export const LeftSidebar = forwardRef((props, ref) => { useEffect(() => { if (!selectedSidebarItem) { setEditorMarginLeft(0); - } else { - setEditorMarginLeft(350); } // eslint-disable-next-line react-hooks/exhaustive-deps }, [selectedSidebarItem]);