Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
fix(GoogleMaps): target the correct for the map
Browse files Browse the repository at this point in the history
  • Loading branch information
samouss committed May 4, 2018
1 parent 047e414 commit 3dc3e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-instantsearch-dom-geo/src/GoogleMaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class GoogleMaps extends Component {
const { isMapReady } = this.state;

return (
<div ref={c => (this.element = c)} className={cx('')}>
<div className={cx('map')} />
<div className={cx('')}>
<div ref={c => (this.element = c)} className={cx('map')} />
{isMapReady && children}
</div>
);
Expand Down

0 comments on commit 3dc3e71

Please sign in to comment.