From 483d37378b4731817425f67ccc43fecc516b0f86 Mon Sep 17 00:00:00 2001 From: Chris Matzenbach Date: Tue, 3 Dec 2024 14:56:06 -0600 Subject: [PATCH] Needs to be const, not let since they may be modified (#684) Co-authored-by: Chris Matzenbach --- src/charts/bubble-chart.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/charts/bubble-chart.js b/src/charts/bubble-chart.js index 289585a1..d20dbf8a 100644 --- a/src/charts/bubble-chart.js +++ b/src/charts/bubble-chart.js @@ -467,8 +467,8 @@ export default function bubbleChart(parent, chartGroup) { } if (_chart.getDimensionLength() === 1) { - const domain = _chart.customDomain() ?? [] - const range = _chart.customRange() ?? [] + let domain = _chart.customDomain() ?? [] + let range = _chart.customRange() ?? [] if ( _chart.colorMappingDomain().length > 0 &&