Interactive interface for browsing global, full-resolution satellite imagery
Added early return when newString is undefined.
Tom Cariello938c27098b08
diff --git a/web/js/containers/share.js b/web/js/containers/share.jsindex afad8a121..20ae208ff 100644--- a/web/js/containers/share.js+++ b/web/js/containers/share.js@@ -69,6 +69,7 @@ class ShareLinkContainer extends Component {this.unlisten = history.listen((location, action) => {const newString = location.search;const { queryString } = this.state;+ if (newString === undefined) { return; }if (queryString !== newString) {this.setState({queryString: newString,