Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

lint fix

VictorSdc5151a79c28
diff --git a/web/js/components/layer/settings/palette.js b/web/js/components/layer/settings/palette.js
index 2aaa17fee..87832e323 100644
--- a/web/js/components/layer/settings/palette.js
+++ b/web/js/components/layer/settings/palette.js
@@ -53,8 +53,8 @@ function PaletteSelect (props) {
const target = getCustomPalette(id);
const targetType = target.colors.length === 1 ? 'classification' : 'continuous';
- if ((source.type === 'continuous' && targetType === 'continuous') ||
- (source.type === 'discrete' && targetType === 'continuous')) {
+ if ((source.type === 'continuous' && targetType === 'continuous')
+ || (source.type === 'discrete' && targetType === 'continuous')) {
const translated = palettesTranslate(source.colors, target.colors);
return renderSelectorItemScale(
translated,