Skip to content

Commit

Permalink
Added var for L to get rid of lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lstillwe committed May 1, 2024
1 parent 93e01fb commit f397560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/map-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import locationIcon from '@images/location_searching_FILL0_wght400_GRAD0_opsz24.
// https://fonts.google.com/icons?selected=Material+Symbols+Outlined:location_searching:FILL@0;wght@400;GRAD@0;opsz@24&icon.query=location
export const markClicked = (map, event) => {

const L = window.L;

const targetIcon = L.icon({
iconUrl: locationIcon,
iconSize: [38, 38],
Expand Down

0 comments on commit f397560

Please sign in to comment.