Interactive interface for browsing global, full-resolution satellite imagery
Set timeout on alert and pass showTourAlert props to in-progress modal
ZachTRice56a689c6d771
diff --git a/web/js/alert/ui.js b/web/js/alert/ui.jsindex 2ddfd8c96..c9c8a7648 100644--- a/web/js/alert/ui.js+++ b/web/js/alert/ui.js@@ -31,6 +31,12 @@ export function alertUi(ui) {self.reactComponent.setState({visible: true});++ setTimeout(() => {+ self.reactComponent.setState({+ visible: false+ });+ }, 5000);};init();diff --git a/web/js/components/tour/tour.js b/web/js/components/tour/tour.jsindex 7ae000e11..d39b8e8e0 100644--- a/web/js/components/tour/tour.js+++ b/web/js/components/tour/tour.js@@ -93,6 +93,7 @@ class Tour extends React.Component {stories={this.state.stories}currentStoryId={this.state.currentStoryId}currentStory={this.state.currentStory}+ showTourAlert={this.props.showTourAlert}></TourInProgress><TourComplete