From a0d7b1df2ffde7908a457b51b2c65ac6a9d7cd55 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 22 Oct 2024 20:35:10 +0530 Subject: [PATCH] chore: lint --- src/components/molecules/ScheduleSettings.tsx | 148 +++++++++--------- 1 file changed, 74 insertions(+), 74 deletions(-) diff --git a/src/components/molecules/ScheduleSettings.tsx b/src/components/molecules/ScheduleSettings.tsx index 33df99d9..0fb0abaf 100644 --- a/src/components/molecules/ScheduleSettings.tsx +++ b/src/components/molecules/ScheduleSettings.tsx @@ -86,7 +86,7 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia }; const deleteSchedule = () => { - + }; return ( @@ -103,89 +103,89 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia '& > *': { marginBottom: '20px' }, }}> Schedule Settings - <> - - Run once every - handleChange('runEvery', parseInt(e.target.value))} - sx={textStyle} - inputProps={{ min: 1 }} - /> - handleChange('runEveryUnit', e.target.value)} - sx={dropDownStyle} - > - {units.map((unit) => ( - {unit} - ))} - - + <> + + Run once every + handleChange('runEvery', parseInt(e.target.value))} + sx={textStyle} + inputProps={{ min: 1 }} + /> + handleChange('runEveryUnit', e.target.value)} + sx={dropDownStyle} + > + {units.map((unit) => ( + {unit} + ))} + + - - Start from / On - handleChange('startFrom', e.target.value)} - sx={dropDownStyle} - > - {days.map((day) => ( - {day} - ))} - - + + Start from / On + handleChange('startFrom', e.target.value)} + sx={dropDownStyle} + > + {days.map((day) => ( + {day} + ))} + + - {['MINUTES', 'HOURS'].includes(settings.runEveryUnit) ? ( - - - In Between - handleChange('atTimeStart', e.target.value)} - sx={textStyle} - /> - handleChange('atTimeEnd', e.target.value)} - sx={textStyle} - /> - - - ) : ( - - At Around + {['MINUTES', 'HOURS'].includes(settings.runEveryUnit) ? ( + + + In Between handleChange('atTimeStart', e.target.value)} sx={textStyle} /> + handleChange('atTimeEnd', e.target.value)} + sx={textStyle} + /> - )} - - - Timezone - handleChange('timezone', e.target.value)} - sx={dropDownStyle} - > - {validMomentTimezones.map((tz) => ( - {tz} - ))} - - + ) : ( + + At Around + handleChange('atTimeStart', e.target.value)} + sx={textStyle} + /> + + )} + + + Timezone + handleChange('timezone', e.target.value)} + sx={dropDownStyle} + > + {validMomentTimezones.map((tz) => ( + {tz} + ))} + + +