Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

remove clone #1314

Benjamin Kinga084ad323834
diff --git a/web/js/map/ui.js b/web/js/map/ui.js
index 93ae7f8ed..3df310b7c 100644
--- a/web/js/map/ui.js
+++ b/web/js/map/ui.js
@@ -98,7 +98,7 @@ export function mapui(models, config, store, ui) {
const subscribeToStore = function(action) {
switch (action.type) {
case layerConstants.ADD_LAYER: {
- const def = lodashCloneDeep(lodashFind(action.layers, { id: action.id }));
+ const def = lodashFind(action.layers, { id: action.id });
return addLayer(def);
}
case CLEAR_ROTATE: