summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
Diffstat (limited to 'app/components')
-rw-r--r--app/components/Connect.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js
index e988a3d32f..a427810f2b 100644
--- a/app/components/Connect.js
+++ b/app/components/Connect.js
@@ -144,9 +144,13 @@ export default class Connect extends Component {
interactive={ false }
fitBounds={ this.getBounds(displayLocation.location, altitude) }
fitBoundsOptions={ {offset: [0, -100]} }>
- <Marker coordinates={ markerLocation } offset={ [0, -10] }>
- <img src={ this.markerImage() } />
- </Marker>
+ <If condition={ !isConnecting }>
+ <Then>
+ <Marker coordinates={ markerLocation } offset={ [0, -10] }>
+ <img src={ this.markerImage() } />
+ </Marker>
+ </Then>
+ </If>
</ReactMapboxGl>
</div>
<div className="connect__container">