fixes: leftsidebar border issues

This commit is contained in:
arpitnath 2023-08-05 23:26:05 +05:30
parent 099337c90b
commit dbb330c16b
2 changed files with 0 additions and 4 deletions

View file

@ -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();

View file

@ -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]);