Skip to content

Commit

Permalink
fix: Fixed Type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
noahonyejese committed Dec 11, 2024
1 parent c5e117e commit f128f59
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/charts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ import {
Component,
Dimension,
DimensionType,
DimensionValue,
GeoCoordinatesDimension,
GeoShapesDimension,
getCategoricalDimensions,
Expand Down Expand Up @@ -622,7 +623,7 @@ export const getInitialConfig = (
dimensionValues: yComponentIds.map((id) => ({
value: id,
label: id,
})),
})) as DimensionValue[],
}),
},
},
Expand Down Expand Up @@ -1626,7 +1627,7 @@ const chartConfigsAdjusters: ChartConfigsAdjusters = {
dimensionValues: [leftMeasure.id, rightMeasureId].map((id) => ({
value: id,
label: id,
})),
})) as DimensionValue[],
}),
};
});
Expand Down Expand Up @@ -1720,7 +1721,7 @@ const chartConfigsAdjusters: ChartConfigsAdjusters = {
dimensionValues: [leftMeasure.id, lineComponentId].map((id) => ({
value: id,
label: id,
})),
})) as DimensionValue[],
}),
};
});
Expand Down

0 comments on commit f128f59

Please sign in to comment.