Adapt Month labels

This commit is contained in:
2023-12-24 18:33:46 +00:00
parent c85776a499
commit a61677fe35
4 changed files with 436 additions and 390 deletions
+2 -3
View File
@@ -5,7 +5,8 @@ import useSWR from "swr";
import {fetcher} from "@/app/utils";
import * as R from 'ramda';
import * as dFns from 'date-fns';
import CalendarHeatmap from 'react-calendar-heatmap';
// import CalendarHeatmap from 'react-calendar-heatmap';
import CalendarHeatmap from '../heatmap';
import 'react-calendar-heatmap/dist/styles.css';
import './calendar-styles.css'
import { Tooltip } from 'react-tooltip';
@@ -69,8 +70,6 @@ function useCalendarData() {
}
})
debugger
setData(Object.entries(summed)
.map(([key, value]) => ({
date: dFns.parseISO(key),