Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix palette threshold selector and cleanup files

ZachTRiced7305c769b44
diff --git a/web/js/components/layer/settings/settings.js b/web/js/components/layer/settings/settings.js
index 5a6b8a5dd..50916e7d6 100644
--- a/web/js/components/layer/settings/settings.js
+++ b/web/js/components/layer/settings/settings.js
@@ -100,7 +100,7 @@ class LayerSettings extends React.Component {
{legend.type !== 'classification' ? (
<PaletteThreshold
legend={legend}
- setThresholdRange={setThresholdRange}
+ setRange={setThresholdRange}
min={0}
max={max}
start={start}
@@ -178,7 +178,7 @@ class LayerSettings extends React.Component {
{legend.type !== 'classification' &&
<PaletteThreshold
legend={legend}
- setThresholdRange={setThresholdRange}
+ setRange={setThresholdRange}
min={0}
max={max}
start={start}
diff --git a/web/js/modules/vector-styles/selectors.js b/web/js/modules/vector-styles/selectors.js
index fc83a56c0..08b50ce54 100644
--- a/web/js/modules/vector-styles/selectors.js
+++ b/web/js/modules/vector-styles/selectors.js
@@ -2,7 +2,6 @@ import {
get as lodashGet,
isUndefined as lodashIsUndefined,
each as lodashEach
- // cloneDeep as lodashCloneDeep
} from 'lodash';
import {
getLayers