Skip to content

Commit

Permalink
fix: fix incorrectly assigned classes
Browse files Browse the repository at this point in the history
  • Loading branch information
albaranau committed Jan 21, 2025
1 parent 24d0cc7 commit 6293d14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/multivariate/multivariateStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ function setupColorClasses(
'class',
classResolver(
{
propName: getVariable('baseValue'),
borders: baseSteps.reduce<number[]>(
propName: getVariable('annexValue'),
borders: annexSteps.reduce<number[]>(
(acc, { value }) => (acc.push(value), acc),
[],
),
},
{
propName: getVariable('annexValue'),
borders: annexSteps.reduce<number[]>(
propName: getVariable('baseValue'),
borders: baseSteps.reduce<number[]>(
(acc, { value }) => (acc.push(value), acc),
[],
),
Expand Down

0 comments on commit 6293d14

Please sign in to comment.