mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
remove console
This commit is contained in:
parent
0ab48eaab9
commit
864dc92098
2 changed files with 0 additions and 4 deletions
|
|
@ -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 () {
|
||||
|
|
|
|||
|
|
@ -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 });
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue