From 2088a174052cf3e4d97e9def8a1097ce040bca1e Mon Sep 17 00:00:00 2001 From: Claas Date: Sun, 17 Aug 2025 01:08:35 +0200 Subject: [PATCH] Fix build --- src/Graph.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Graph.tsx b/src/Graph.tsx index 3380b08..e1bf339 100644 --- a/src/Graph.tsx +++ b/src/Graph.tsx @@ -190,14 +190,14 @@ export default function Graph({ entries }: Properties) { const timeStart = startOfMonth(now).getTime(); const timeEnd = endOfMonth(now).getTime(); - const entriesInTimeRange = () => { - return entries().map( - ({ weight, timestamp }): Entry => ({ - weight, - timestamp: new Date(timestamp.getTime() - timeStart), - }) - ); - }; + // const entriesInTimeRange = () => { + // return entries().map( + // ({ weight, timestamp }): Entry => ({ + // weight, + // timestamp: new Date(timestamp.getTime() - timeStart), + // }) + // ); + // }; // const weightStart = 0; // const weightEnd = 100; -- 2.51.2