Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions src/components/Marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,7 @@ export class Marker extends React.Component {
}

render() {
return (
<Fragment>
{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
}
</Fragment>
)
return null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we removing this entirely?

}
}

Expand Down