Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Removed unused var, isVisible

Jason Hurley379b87225ca2
diff --git a/web/js/components/sidebar/paletteLegend.js b/web/js/components/sidebar/paletteLegend.js
index d8668038a..e3e060076 100644
--- a/web/js/components/sidebar/paletteLegend.js
+++ b/web/js/components/sidebar/paletteLegend.js
@@ -402,7 +402,7 @@ class PaletteLegend extends React.Component {
containment={scrollContainerEl}
partialVisibility
>
- {({ isVisible }) => (
+ {() => (
<div className={legendClass} key={`${legend.id}_${legendIndex}`}>
{legend.colors.map((color, keyIndex) => {
const isActiveKey = activeKeyObj?.index === keyIndex;