Skip to content

Commit

Permalink
change width of edit form
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilesh Gupta authored and Nilesh Gupta committed Oct 8, 2024
1 parent e9a4caf commit 3ec8939
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/Staff/EditShiftStaffForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ export const EditShiftStaffForm = ({
const [endTime, setEndTime] = useState<Moment>(essf.endTimeAt);
const [endDate, setEndDate] = useState<Moment>(essf.endDayAt);
const [staffNumber, setStaffNumber] = useState<number>(essf.actualStaff);
// const [startDate, setStartDate] = useState<Moment>(essf?.startDayAt);
// const [startTime, setStartTime] = useState<Moment | null>(essf?.startTimeAt);
// const [endTime, setEndTime] = useState<Moment | null>(null);
// const [endDate, setEndDate] = useState<Moment | null>(null);
// const [staffNumber, setStaffNumber] = useState<number>(0);
const handleStartDateChange = (date: Moment | null) => {
setStartDate(date);
setEndDate(date);
Expand Down Expand Up @@ -83,7 +78,7 @@ export const EditShiftStaffForm = ({
paddingBottom: '10px',
// backgroundColor: '#B4B5BE',
border: '1px solid black',
width: '370px'
width: '400px'
}}>
<Box sx={{display: 'flex', justifyContent: 'space-between'}}>
<Typography variant="h2" component="h2">Edit staff</Typography>
Expand Down

0 comments on commit 3ec8939

Please sign in to comment.