Fix broken best view page
This commit is contained in:
parent
9bfe9737ea
commit
c31cebb6d3
|
@ -95,7 +95,7 @@ export default function ViewBest() {
|
|||
}
|
||||
xData={weights}
|
||||
xFormat={(_value, index) =>
|
||||
format(new Date(weights[index].created), 'D/M')
|
||||
format(new Date(weights[index].created), 'd/M')
|
||||
}
|
||||
/>
|
||||
) : (
|
||||
|
@ -104,7 +104,7 @@ export default function ViewBest() {
|
|||
yFormat={value => `${value}${weights[0].unit}`}
|
||||
xData={weights}
|
||||
xFormat={(_value, index) =>
|
||||
format(new Date(weights[index].created), 'D/M')
|
||||
format(new Date(weights[index].created), 'd/M')
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue
Block a user