mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-02-10 03:19:15 -06:00
resolve react ownerState warning by correctly passing CalendarIcon
This commit is contained in:
@@ -359,7 +359,7 @@ const CreateMaintenance = () => {
|
||||
disablePast
|
||||
disableHighlightToday
|
||||
value={form.startDate}
|
||||
slots={{ openPickerIcon: CalendarIcon }}
|
||||
slots={{ openPickerIcon: () => <CalendarIcon /> }}
|
||||
slotProps={{
|
||||
switchViewButton: { sx: { display: "none" } },
|
||||
nextIconButton: { sx: { ml: theme.spacing(2) } },
|
||||
|
||||
Reference in New Issue
Block a user