Merge branch 'fixes/app-builder-perf' of https://github.com/ToolJet/ToolJet into fixes/app-builder-perf

This commit is contained in:
Kavin Venkatachalam 2024-05-29 16:32:53 +05:30
commit 77754c9f7b

View file

@ -80,7 +80,7 @@ export const SubContainer = ({
setContainerCanvasWidth(canvasWidth);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [parentRef, getContainerCanvasWidth(), listmode]);
}, [parentRef, getContainerCanvasWidth(), listmode, parentComponent?.definition?.properties?.size?.value]); // Listen for changes to the modal size and update the subcontainer state with the new grid width.
zoomLevel = zoomLevel || 1;