From 864dc92098f5ae17b9878cd0f1f502b00ca8bae6 Mon Sep 17 00:00:00 2001 From: Nakul Nagargade Date: Tue, 27 May 2025 14:53:53 +0530 Subject: [PATCH] remove console --- frontend/src/AppBuilder/Widgets/ModalV2/ModalV2.jsx | 2 -- frontend/src/AppBuilder/_hooks/useSubContainerResizable.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/frontend/src/AppBuilder/Widgets/ModalV2/ModalV2.jsx b/frontend/src/AppBuilder/Widgets/ModalV2/ModalV2.jsx index 1321081142..69fbdec571 100644 --- a/frontend/src/AppBuilder/Widgets/ModalV2/ModalV2.jsx +++ b/frontend/src/AppBuilder/Widgets/ModalV2/ModalV2.jsx @@ -65,8 +65,6 @@ export const ModalV2 = function Modal({ ? `calc(100vh - 48px - 40px - ${headerHeightPx} - ${footerHeightPx})` : computedModalBodyHeight; - console.log(computedCanvasHeight, 'computedCanvasHeight'); - useEffect(() => { const exposedVariables = { open: async function () { diff --git a/frontend/src/AppBuilder/_hooks/useSubContainerResizable.js b/frontend/src/AppBuilder/_hooks/useSubContainerResizable.js index 87a7d8c87c..56cfe78822 100644 --- a/frontend/src/AppBuilder/_hooks/useSubContainerResizable.js +++ b/frontend/src/AppBuilder/_hooks/useSubContainerResizable.js @@ -47,7 +47,6 @@ export const useSubContainerResizable = (options = {}) => { e.stopPropagation(); e.preventDefault(); const startHeight = parseInt(parentRef.current.clientHeight); - console.log(startHeight, 'startHeight'); const startWidth = parseInt(parentRef.current.clientWidth); const parentWidth = parentRef.current.parentElement ? parentRef.current.parentElement.clientWidth : startWidth; const startY = e.clientY; @@ -116,7 +115,6 @@ export const useSubContainerResizable = (options = {}) => { // Get the updated height and width from the DOM instead of relying on state const finalHeight = parentRef.current ? parseInt(parentRef.current.clientHeight) : parseInt(height); const finalWidth = parentRef.current ? parseInt(parentRef.current.clientWidth) : parseInt(width); - console.log(finalHeight, 'dragEnd'); props.onDragEnd({ newHeight: finalHeight, newWidth: finalWidth }); } };