Fix broken best view page

This commit is contained in:
Brandon Presley 2022-11-12 16:43:56 +13:00
parent 9bfe9737ea
commit c31cebb6d3
1 changed files with 2 additions and 2 deletions

View File

@ -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')
}
/>
)}