diff --git a/src/components/robot/ScheduleSettings.tsx b/src/components/robot/ScheduleSettings.tsx index 658ce594..71951646 100644 --- a/src/components/robot/ScheduleSettings.tsx +++ b/src/components/robot/ScheduleSettings.tsx @@ -190,7 +190,7 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia sx={dropDownStyle} > {units.map((unit) => ( - {unit} + {unit.charAt(0).toUpperCase() + unit.slice(1).toLowerCase()} ))} @@ -207,7 +207,9 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia sx={dropDownStyle} > {days.map((day) => ( - {day} + + {day.charAt(0).toUpperCase() + day.slice(1).toLowerCase()} + ))} @@ -265,7 +267,7 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia sx={dropDownStyle} > {validMomentTimezones.map((tz) => ( - {tz} + {tz.charAt(0).toUpperCase() + tz.slice(1).toLowerCase()} ))}