tweak codestats
All checks were successful
Deploy Blog / deploy (push) Successful in 2m54s

This commit is contained in:
Thomas Bishop 2025-12-09 19:02:12 +00:00
parent e970ea7842
commit 2da50612b9

View file

@ -13,7 +13,7 @@ const CodeStats = () => {
const { data, isLoading, error } = useQuery({
queryKey: ["codestats"],
queryFn: () =>
wakapiApi.get(`summary?interval=week`).then((res) => res.data),
wakapiApi.get(`summary?interval=month`).then((res) => res.data),
})
const grandTotal = data?.projects.reduce((acc, curr) => acc + curr.total, 0)
@ -50,7 +50,7 @@ const CodeStats = () => {
100
).toFixed(1),
}))
.slice(0, 4)
.slice(0, 8)
const projectsChartData =
personalProjects &&