From c31cebb6d3abd1e314b4ff2735ecc565656a0496 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Sat, 12 Nov 2022 16:43:56 +1300 Subject: [PATCH] Fix broken best view page --- ViewBest.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ViewBest.tsx b/ViewBest.tsx index 6598559..1c245b3 100644 --- a/ViewBest.tsx +++ b/ViewBest.tsx @@ -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') } /> )}