Interactive interface for browsing global, full-resolution satellite imagery
Removed prevState; not utilized.
Stephan Wlodarczyka993a61f522f
diff --git a/web/js/components/sidebar/paletteLegend.js b/web/js/components/sidebar/paletteLegend.jsindex 31a0d3826..a18babf01 100644--- a/web/js/components/sidebar/paletteLegend.js+++ b/web/js/components/sidebar/paletteLegend.js@@ -42,7 +42,7 @@ class PaletteLegend extends React.Component {});}- componentDidUpdate(prevProps, prevState) {+ componentDidUpdate(prevProps) {// Only updates when layer options/settings have changed or if ZOT changes the width of the paletteif (!lodashIsEqual(this.props.layer, prevProps.layer) || (prevProps.width !== this.props.width)) {this.updateCanvas();