File tree 2 files changed +4
-4
lines changed
packages/x-charts/src/ChartsGrid
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ export function ChartsGridHorizontal(props: ChartsGridHorizontalProps) {
23
23
24
24
return (
25
25
< React . Fragment >
26
- { yTicks . map ( ( { formattedValue , offset } ) => (
26
+ { yTicks . map ( ( { value , offset } ) => (
27
27
< GridLine
28
- key = { `horizontal-${ formattedValue } ` }
28
+ key = { `horizontal-${ value } ` }
29
29
y1 = { offset }
30
30
y2 = { offset }
31
31
x1 = { drawingArea . left }
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ export function ChartsGridVertical(props: ChartsGridVerticalProps) {
23
23
24
24
return (
25
25
< React . Fragment >
26
- { xTicks . map ( ( { formattedValue , offset } ) => (
26
+ { xTicks . map ( ( { value , offset } ) => (
27
27
< GridLine
28
- key = { `vertical-${ formattedValue } ` }
28
+ key = { `vertical-${ value } ` }
29
29
y1 = { drawingArea . top }
30
30
y2 = { drawingArea . top + drawingArea . height }
31
31
x1 = { offset }
You can’t perform that action at this time.
0 commit comments