Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

rename component #2144

Benjamin King957593b1287c
diff --git a/web/js/app.js b/web/js/app.js
index 354b0355f..21a8d46ee 100644
--- a/web/js/app.js
+++ b/web/js/app.js
@@ -5,7 +5,7 @@ import { each as lodashEach } from 'lodash';
import googleTagManager from 'googleTagManager';
// Utils
import util from './util/util';
-import OlCoordinates from './containers/map-interactions';
+import MapInteractions from './containers/map-interactions';
// Toolbar
import Toolbar from './containers/toolbar';
import Sidebar from './containers/sidebar/sidebar';
@@ -106,7 +106,7 @@ class App extends React.Component {
return (
<div className="wv-content" id="wv-content" data-role="content">
<Toolbar />
- <OlCoordinates mouseEvents={mapMouseEvents} />
+ <MapInteractions mouseEvents={mapMouseEvents} />
<div id="wv-alert-container" className="wv-alert-container">
<FeatureAlert />
</div>
diff --git a/web/js/modules/vector-styles/action.test.js b/web/js/modules/vector-styles/action.test.js
index de5272e06..1cd96f6ac 100644
--- a/web/js/modules/vector-styles/action.test.js
+++ b/web/js/modules/vector-styles/action.test.js
@@ -11,4 +11,4 @@ test(
};
expect(selectVectorFeatures(payload)).toEqual(expectedAction);
}
-);
\ No newline at end of file
+);
diff --git a/web/js/modules/vector-styles/reducer.test.js b/web/js/modules/vector-styles/reducer.test.js
index 988964d9b..27e76f057 100644
--- a/web/js/modules/vector-styles/reducer.test.js
+++ b/web/js/modules/vector-styles/reducer.test.js
@@ -7,5 +7,5 @@ test('Set a selected Vector', () => {
payload: { some_layer_id: ['some_feature_id'] }
});
- expect(response.selected['some_layer_id'][0]).toEqual('some_feature_id');
-});
\ No newline at end of file
+ expect(response.selected.some_layer_id[0]).toEqual('some_feature_id');
+});
diff --git a/web/js/util/util.js b/web/js/util/util.js
index a43c12351..1e99024ea 100644
--- a/web/js/util/util.js
+++ b/web/js/util/util.js
@@ -454,7 +454,6 @@ export default (function(self) {
return newDate;
};
-
self.getNumberOfDays = function(start, end, interval, increment, maxToCheck) {
increment = increment || 1;
var i = 1;