Skip to content

Commit

Permalink
Needs to be const, not let since they may be modified (#684)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Matzenbach <[email protected]>
  • Loading branch information
cmatzenbach and Chris Matzenbach authored Dec 3, 2024
1 parent c928706 commit 483d373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/charts/bubble-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 483d373

Please sign in to comment.