From 3ddec5d3372b338e93f116c5c3fc32a479c9c060 Mon Sep 17 00:00:00 2001 From: zhangheng Date: Tue, 14 Apr 2026 16:35:45 +0800 Subject: [PATCH] fix(project): date --- components/project/index.tsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/components/project/index.tsx b/components/project/index.tsx index c175355..264b239 100644 --- a/components/project/index.tsx +++ b/components/project/index.tsx @@ -24,6 +24,15 @@ import { projectStatusOpts, STATUS_CODE, } from "@/components/label/utils/constants" +import { + SettingContentPanel, + SettingFilterActions, + SettingFilterPanel, + SettingHeaderActions, + SettingListHeader, + SettingPage, + SettingPanel, +} from "@/components/setting/PageSurface" import { ActionIcon, Badge, @@ -46,15 +55,6 @@ import { Tooltip, UnstyledButton, } from "@mantine/core" -import { - SettingContentPanel, - SettingFilterActions, - SettingFilterPanel, - SettingHeaderActions, - SettingListHeader, - SettingPage, - SettingPanel, -} from "@/components/setting/PageSurface" import { useForm } from "@mantine/form" import { notifications } from "@mantine/notifications" import { @@ -71,7 +71,6 @@ import { IconStar, IconStarFilled, } from "@tabler/icons-react" -import dayjs from "dayjs" import { User2 } from "lucide-react" import { useRouter } from "next/navigation" import { @@ -190,8 +189,8 @@ export default function ProjectInfoPage({ owner: "", label_type: "", admin_user: [] as string[], - start_date: dayjs().subtract(6, "day").format("YYYY-MM-DD"), - end_date: dayjs().format("YYYY-MM-DD"), + start_date: "", + end_date: "", } }) @@ -395,8 +394,9 @@ export default function ProjectInfoPage({