remove console

This commit is contained in:
Nakul Nagargade 2025-05-27 14:53:53 +05:30
parent 0ab48eaab9
commit 864dc92098
2 changed files with 0 additions and 4 deletions

View file

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

View file

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