Adapt Month labels
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user