Skip to content

Commit

Permalink
Less logs
Browse files Browse the repository at this point in the history
  • Loading branch information
omranlm committed Aug 29, 2023
1 parent fe1897b commit 9666e8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Layout/Feedback/Feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,13 @@ const Feedback = (props) => {
const map = useMapEvents({
zoomend: (e) => {
const { _animateToZoom } = e.target;
console.log("zoomend", e, _animateToZoom);
// console.log("zoomend", e, _animateToZoom);
setZoom(_animateToZoom);
},
moveend: (e) => {
const { _animateToZoom, _layers } = e.target;
console.log("moveend", e, e.target.getBounds());
console.log("zoom is", _animateToZoom);
// console.log("moveend", e, e.target.getBounds());
// console.log("zoom is", _animateToZoom);
// console.log("see the map ", map);

if (_animateToZoom >= 18) {
Expand Down

0 comments on commit 9666e8a

Please sign in to comment.