Skip to content

Commit

Permalink
Removed console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Jaśpiński committed Aug 20, 2021
1 parent ca25046 commit 0b3cf97
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hooks/useZoomPanHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
Expand Down

0 comments on commit 0b3cf97

Please sign in to comment.