Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix lint, add proptypes

Ed Plato54540d904bd6
diff --git a/web/js/containers/animation-widget.js b/web/js/containers/animation-widget.js
index bb6e44a75..c2c10fd44 100644
--- a/web/js/containers/animation-widget.js
+++ b/web/js/containers/animation-widget.js
@@ -842,6 +842,7 @@ RangeHandle.propTypes = {
value: PropTypes.number,
};
AnimationWidget.propTypes = {
+ appNow: PropTypes.object,
activePalettes: PropTypes.object,
animationCustomModalOpen: PropTypes.bool,
changeCustomInterval: PropTypes.func,
@@ -852,6 +853,7 @@ AnimationWidget.propTypes = {
delta: PropTypes.number,
endDate: PropTypes.object,
hasCustomPalettes: PropTypes.bool,
+ hasFutureLayers: PropTypes.bool,
hasGraticule: PropTypes.bool,
hasSubdailyLayers: PropTypes.bool,
interval: PropTypes.string,
diff --git a/web/js/containers/timeline/timeline.js b/web/js/containers/timeline/timeline.js
index 0bc99fdfb..7e299a6ba 100644
--- a/web/js/containers/timeline/timeline.js
+++ b/web/js/containers/timeline/timeline.js
@@ -975,6 +975,7 @@ class Timeline extends React.Component {
activeLayers,
dateA,
dateB,
+ hasFutureLayers,
hasSubdailyLayers,
draggerSelected,
leftArrowDisabled,
@@ -1212,7 +1213,7 @@ class Timeline extends React.Component {
showHoverOn={this.showHoverOn}
showHoverOff={this.showHoverOff}
showHover={this.showHover}
- hasFutureLayers={this.props.hasFutureLayers}
+ hasFutureLayers={hasFutureLayers}
hasSubdailyLayers={hasSubdailyLayers}
isCompareModeActive={isCompareModeActive}
isAnimationPlaying={isAnimationPlaying}
@@ -1568,6 +1569,7 @@ Timeline.propTypes = {
dateB: PropTypes.string,
deltaChangeAmt: PropTypes.number,
draggerSelected: PropTypes.string,
+ hasFutureLayers: PropTypes.bool,
hasSubdailyLayers: PropTypes.bool,
hideTimeline: PropTypes.bool,
isAnimationPlaying: PropTypes.bool,