Interactive interface for browsing global, full-resolution satellite imagery
remove tooltipActive prop #1246
Benjamin Kingaa23d8ee6631
diff --git a/web/js/components/dateline/dateline.js b/web/js/components/dateline/dateline.jsindex c4fc09439..0a95555a4 100644--- a/web/js/components/dateline/dateline.js+++ b/web/js/components/dateline/dateline.js@@ -17,8 +17,7 @@ class Line extends React.Component {this.state = {hovered: false,height: props.height,- active: true,- isTooltipActive: props.isTooltipActive+ active: true};}@@ -53,7 +52,6 @@ class Line extends React.Component {* return {Void}*/mouseOverHidden(e) {- if (!this.state.isTooltipActive) return;this.props.lineOver([e.clientX, e.clientY],this.props.overlay,@@ -70,7 +68,6 @@ class Line extends React.Component {* return {Void}*/mouseOutHidden() {- if (!this.state.isTooltipActive) return;this.props.lineOut(this.props.tooltip);}@@ -143,8 +140,7 @@ Line.propTypes = {overlay: PropTypes.object,style: PropTypes.object,id: PropTypes.string,- classes: PropTypes.string,- isTooltipActive: PropTypes.bool+ classes: PropTypes.string};export default Line;