From 3ec8939cee4a0aec7aa1b8bc0a736defc953d670 Mon Sep 17 00:00:00 2001 From: Nilesh Gupta Date: Tue, 8 Oct 2024 09:16:28 +0100 Subject: [PATCH] change width of edit form --- src/components/Staff/EditShiftStaffForm.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/Staff/EditShiftStaffForm.tsx b/src/components/Staff/EditShiftStaffForm.tsx index de5ef91..997b435 100644 --- a/src/components/Staff/EditShiftStaffForm.tsx +++ b/src/components/Staff/EditShiftStaffForm.tsx @@ -32,11 +32,6 @@ export const EditShiftStaffForm = ({ const [endTime, setEndTime] = useState(essf.endTimeAt); const [endDate, setEndDate] = useState(essf.endDayAt); const [staffNumber, setStaffNumber] = useState(essf.actualStaff); - // const [startDate, setStartDate] = useState(essf?.startDayAt); - // const [startTime, setStartTime] = useState(essf?.startTimeAt); - // const [endTime, setEndTime] = useState(null); - // const [endDate, setEndDate] = useState(null); - // const [staffNumber, setStaffNumber] = useState(0); const handleStartDateChange = (date: Moment | null) => { setStartDate(date); setEndDate(date); @@ -83,7 +78,7 @@ export const EditShiftStaffForm = ({ paddingBottom: '10px', // backgroundColor: '#B4B5BE', border: '1px solid black', - width: '370px' + width: '400px' }}> Edit staff