Skip to content

Commit

Permalink
fix: closePanel
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Nov 7, 2024
1 parent 29863d9 commit 2365b9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources/js/Helpers/useMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ export const closePanel = (leafletObject) => {
const coordinates = getCoordinatesParameter(props.center, props.zoom);

router.visit(route('front.map.index', { coordinates }), {
headers: {
'Map-Bounds': props.bounds,
},
headers: headers(leafletObject),
});
};

Expand Down

0 comments on commit 2365b9f

Please sign in to comment.