Skip to content

Commit

Permalink
lint indent
Browse files Browse the repository at this point in the history
  • Loading branch information
eschutho authored Nov 22, 2023
1 parent 5098ef3 commit 3e27529
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const defaultProps = {
};

const MapBox = (props) => {
const { width, height, bounds } = props;
const { width, height, bounds } = props;
const mercator = new ViewportMercator({
width,
height,
Expand All @@ -71,10 +71,10 @@ const { width, height, bounds } = props;
});

const handleViewportChangeHandler = useCallback((viewport) => {
setViewport(viewport);
const { onViewportChange } = props;
onViewportChange(viewport);
}, [viewport]);
setViewport(viewport);
const { onViewportChange } = props;
onViewportChange(viewport);
}, [viewport]);

const {
width,
Expand Down

0 comments on commit 3e27529

Please sign in to comment.