Skip to content

Commit dabc6e8

Browse files
authored
Merge pull request #409 from basantech89/basantech89-issue407
Fix Marker Component
2 parents e8c29b3 + a5039e0 commit dabc6e8

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/components/Marker.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,7 @@ export class Marker extends React.Component {
104104
}
105105

106106
render() {
107-
return (
108-
<Fragment>
109-
{this.props.children && this.marker ?
110-
React.Children.only(
111-
React.cloneElement(
112-
this.props.children,
113-
{ marker: this.marker,
114-
google: this.props.google,
115-
map: this.props.map}
116-
)
117-
) : null
118-
}
119-
</Fragment>
120-
)
107+
return null;
121108
}
122109
}
123110

0 commit comments

Comments
 (0)