Skip to content

Commit 098cfad

Browse files
committed
Resolve build issue
1 parent 7bb515b commit 098cfad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/packages/react-ui/src/components/Charts/RadialChart/utils/RadialChartUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const transformRadialDataWithPercentages = <T extends RadialChartData>(
110110
) => {
111111
const total = data.reduce((sum, item) => sum + Number(item[dataKey]), 0);
112112
const palette = getPalette(theme);
113-
const colors = getDistributedColors(palette, data.length);
113+
const colors = getDistributedColors(palette.colors, data.length);
114114

115115
return data.map((item, index) => ({
116116
...item,

0 commit comments

Comments
 (0)