resolve react ownerState warning by correctly passing CalendarIcon
This commit is contained in:
1 parent
290e9226e5
commit
2ccdcdd480
1 file changed
+1
-1
@@ -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