Skip to content

Commit

Permalink
(PaulLeCam#549) Remove duplicate element creation
Browse files Browse the repository at this point in the history
  • Loading branch information
vadzim committed Jan 3, 2019
1 parent de369a5 commit 76b0cbe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Path.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export default class Path<

constructor(props: Props) {
super(props)
this.leafletElement = this.createLeafletElement(props)
if (this.contextValue == null) {
this.contextValue = {
...props.leaflet,
Expand Down

0 comments on commit 76b0cbe

Please sign in to comment.