From c2d53b1a1397e54c6e5926440e62552b53c993c1 Mon Sep 17 00:00:00 2001 From: GZTime Date: Sun, 10 Dec 2023 16:29:25 +0800 Subject: [PATCH] fix: remove placeholder for PickerInput --- src/GZCTF/ClientApp/src/components/admin/GameCreateModal.tsx | 4 ---- src/GZCTF/ClientApp/src/pages/admin/games/[id]/Info.tsx | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/GZCTF/ClientApp/src/components/admin/GameCreateModal.tsx b/src/GZCTF/ClientApp/src/components/admin/GameCreateModal.tsx index b63cb1beb..c0ec2b33e 100644 --- a/src/GZCTF/ClientApp/src/components/admin/GameCreateModal.tsx +++ b/src/GZCTF/ClientApp/src/components/admin/GameCreateModal.tsx @@ -75,7 +75,6 @@ const GameCreateModal: FC = (props) => { { @@ -92,7 +91,6 @@ const GameCreateModal: FC = (props) => { /> { const newTime = e.target.value.split(':') @@ -114,7 +112,6 @@ const GameCreateModal: FC = (props) => { { @@ -126,7 +123,6 @@ const GameCreateModal: FC = (props) => { /> { const newTime = e.target.value.split(':') diff --git a/src/GZCTF/ClientApp/src/pages/admin/games/[id]/Info.tsx b/src/GZCTF/ClientApp/src/pages/admin/games/[id]/Info.tsx index 062145c06..283a3c648 100644 --- a/src/GZCTF/ClientApp/src/pages/admin/games/[id]/Info.tsx +++ b/src/GZCTF/ClientApp/src/pages/admin/games/[id]/Info.tsx @@ -261,7 +261,6 @@ const GameInfoEdit: FC = () => { /> { { const newTime = e.target.value.split(':') @@ -301,7 +299,6 @@ const GameInfoEdit: FC = () => { label="结束日期" disabled={disabled} minDate={start.toDate()} - placeholder="End time" value={end.toDate()} clearable={false} onChange={(e) => { @@ -314,7 +311,6 @@ const GameInfoEdit: FC = () => { { const newTime = e.target.value.split(':')