Fixes map-jitter
@@ -342,10 +342,10 @@ class PageMap extends React.Component {
)}
{!this.props.isOwnerAtomUrisToLoad &&
- !!this.props.lastWhatsAroundLocation && (
+ !!this.props.lastWhatsAroundLocation ? (
<WonAtomMap
className={
- "owner__map hide-in-responsive won-atom-map " +
+ "ownermap__map hide-in-responsive won-atom-map " +
(!(
this.state.showLocationInput ||
(this.props.isLocationAccessDenied &&
@@ -357,6 +357,8 @@ class PageMap extends React.Component {
locations={this.props.locations}
currentLocation={this.props.lastWhatsAroundLocation}
/>
+ ) : (
+ undefined
)}
{this.props.lastWhatsAroundLocation &&
(this.props.hasVisibleAtomUris ? (
