Skip to content

Commit

Permalink
Merge pull request #1803 from Artsdatabanken/klikk-fix
Browse files Browse the repository at this point in the history
Fix: Klikk i kartet gir kræsj
  • Loading branch information
helemork authored Dec 13, 2023
2 parents 83898b9 + 04de709 commit f4e0bed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/slack.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
curl -X POST -H 'Content-type: application/json' --data '{"text":"deploy nin-kart"}' $1
curl -X POST -H 'Content-type: application/json' --data '{"text":"deploy nin-innsyn"}' $1
3 changes: 2 additions & 1 deletion src/Kart/LeafletTangram/Leaflet.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { withRouter } from "../../withRouter";
import L from "leaflet";
// -- WEBPACK: Load styles --
import "leaflet/dist/leaflet.css";
Expand Down Expand Up @@ -267,4 +268,4 @@ class LeafletTangram extends React.Component {
}
}

export default LeafletTangram;
export default withRouter(LeafletTangram);

0 comments on commit f4e0bed

Please sign in to comment.