Skip to content

Commit

Permalink
chore(src/components): compile from src/macros with babel
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed Dec 14, 2017
1 parent 0c8e943 commit be35694
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/places/SearchBox.jsx
Expand Up @@ -159,7 +159,9 @@ export class SearchBox extends React.PureComponent {
const child = this.context[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 be35694

Please sign in to comment.