diff --git a/src/components/Marker.js b/src/components/Marker.js index 25ca5dc0..624b6238 100644 --- a/src/components/Marker.js +++ b/src/components/Marker.js @@ -104,20 +104,7 @@ export class Marker extends React.Component { } render() { - return ( - - {this.props.children && this.marker ? - React.Children.only( - React.cloneElement( - this.props.children, - { marker: this.marker, - google: this.props.google, - map: this.props.map} - ) - ) : null - } - - ) + return null; } }