Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Corantin committed Sep 26, 2023
1 parent 18e66d4 commit 0f43e1d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/nextjs/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ const propertyIcon = L.divIcon({
const Map = ({ markers, drawPopup }: Props) => {
return (
<>
<MapContainer center={[40, -100]} zoom={5} style={{ height: 750, width: "calc(100%-32px)", margin: "16px" }} id="map">
<MapContainer
center={[40, -100]}
zoom={5}
style={{ height: 750, width: "calc(100%-32px)", margin: "16px" }}
id="map"
>
<TileLayer url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" noWrap={true} />
{markers.map(marker => (
<Marker key={"marker-" + marker.id} position={[marker.latitude, marker.longitude]} icon={propertyIcon}>
Expand Down

0 comments on commit 0f43e1d

Please sign in to comment.