Skip to content

Commit

Permalink
#3045: Remove the link on the popup
Browse files Browse the repository at this point in the history
  • Loading branch information
cemalettin-work committed Dec 28, 2020
1 parent 9dd016b commit 4b01b02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/src/components/Leaflet.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Control, CRS, DivIcon, Icon, Map, Marker, TileLayer } from "leaflet"
import AppContext from "components/AppContext"
import { convertLatLngToMGRS } from "geoUtils"
import { Control, CRS, DivIcon, Icon, Map, Marker, TileLayer } from "leaflet"
import "leaflet-defaulticon-compatibility"
import "leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css"
import {
Expand Down Expand Up @@ -279,7 +279,6 @@ const BaseLeaflet = ({
})
.bindPopup(popupContent)
.on("popupopen", e => {
// TODO LinkTo component will be utilized here to provide routing
ReactDOM.render(
<>
<b>{location.name}</b> @{" "}
Expand Down

0 comments on commit 4b01b02

Please sign in to comment.