Skip to content

Commit

Permalink
chore(lib): compile from src with babel
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed Dec 14, 2017
1 parent be35694 commit 48c0646
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/components/places/SearchBox.js
Expand Up @@ -230,7 +230,9 @@ var SearchBox = (exports.SearchBox = (function(_React$PureComponent) {
var child = this.context[_constants.MAP].controls[
this.props.controlPosition
].removeAt(this.mountControlIndex)
this.containerElement.appendChild(child)
if (child !== undefined) {
this.containerElement.appendChild(child)
}
}
},
},
Expand Down

0 comments on commit 48c0646

Please sign in to comment.