From 0b3cf9738be941eb20a5d9eef929d9cb4a10b14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Ja=C5=9Bpi=C5=84ski?= Date: Fri, 20 Aug 2021 15:40:27 +0200 Subject: [PATCH] Removed console.log --- src/hooks/useZoomPanHelper.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hooks/useZoomPanHelper.ts b/src/hooks/useZoomPanHelper.ts index bfcf912d1..42ff28824 100644 --- a/src/hooks/useZoomPanHelper.ts +++ b/src/hooks/useZoomPanHelper.ts @@ -38,7 +38,6 @@ const useZoomPanHelper = (): ZoomPanHelperFunctions => { }, fitView: (options: FitViewParams = { padding: DEFAULT_PADDING, includeHiddenNodes: false }) => { const { nodes, width, height, minZoom, maxZoom } = store.getState(); - console.log('fitView called with',{height, width}) if (!nodes.length) { return; } @@ -58,7 +57,6 @@ const useZoomPanHelper = (): ZoomPanHelperFunctions => { }, fitViewToDimensions: (options: FitViewToDimensionsParams = { height: 0, width: 0, padding: DEFAULT_PADDING, includeHiddenNodes: false }) => { const { nodes, minZoom, maxZoom } = store.getState(); - console.log('fitViewToDimensions called with',{height: options.height, width: options.width}) if (!nodes.length) { return;