From ef3b7ac6aee5536abd266d73c3f6e10a92dbb26e Mon Sep 17 00:00:00 2001 From: johnnyjoy Date: Tue, 21 Jan 2025 22:55:35 +0800 Subject: [PATCH] chore: update tag icon --- web/src/components/StatisticsView.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/web/src/components/StatisticsView.tsx b/web/src/components/StatisticsView.tsx index 59f60fdd..fd8cf9ec 100644 --- a/web/src/components/StatisticsView.tsx +++ b/web/src/components/StatisticsView.tsx @@ -2,7 +2,7 @@ import { Tooltip } from "@mui/joy"; import clsx from "clsx"; import dayjs from "dayjs"; import { countBy } from "lodash-es"; -import { CalendarDaysIcon, CheckCircleIcon, ChevronLeftIcon, ChevronRightIcon, Code2Icon, LinkIcon, ListTodoIcon } from "lucide-react"; +import { CheckCircleIcon, ChevronDownIcon, ChevronUpIcon, Code2Icon, LinkIcon, ListTodoIcon } from "lucide-react"; import { useState } from "react"; import useAsyncEffect from "@/hooks/useAsyncEffect"; import i18n from "@/i18n"; @@ -42,26 +42,25 @@ const StatisticsView = () => { }; return ( -
+
- {dayjs(visibleMonthString).toDate().toLocaleString(i18n.language, { year: "numeric", month: "long" })}
-
+
setVisibleMonthString(dayjs(visibleMonthString).subtract(1, "month").format("YYYY-MM"))} > - + setVisibleMonthString(dayjs(visibleMonthString).add(1, "month").format("YYYY-MM"))} > - +