From 29aa1b1446917ed6ac3c70ca2a7aaeec917d3c51 Mon Sep 17 00:00:00 2001 From: Janell Fry <Janell_Fry@usgs.gov> Date: Thu, 5 Mar 2020 09:30:55 -0800 Subject: [PATCH] IOW-307 Getting current. --- assets/src/scripts/components/dailyValueHydrograph/legend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/src/scripts/components/dailyValueHydrograph/legend.js b/assets/src/scripts/components/dailyValueHydrograph/legend.js index 959c8ec03..3f6403ea7 100644 --- a/assets/src/scripts/components/dailyValueHydrograph/legend.js +++ b/assets/src/scripts/components/dailyValueHydrograph/legend.js @@ -137,6 +137,7 @@ export const drawSimpleLegend = function(div, {legendMarkerRows, layout}) { svg.attr('viewBox', `-4 0 ${layout.width} ${bBox.height + 20}`); }; + const uniqueClassesSelector = memoize(tsKey => createSelector( currentVariableLineSegmentsSelector(tsKey), //getCurrentTimeSeriesLineSegments(tsKey), @@ -151,7 +152,6 @@ const uniqueClassesSelector = memoize(tsKey => createSelector( )); - /** * Select attributes from the state useful for legend creation */ -- GitLab