From 55bc4147ba7a5789186841aa56725b0df6f9336d Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 22 Oct 2024 20:34:50 +0530 Subject: [PATCH] fix: remove enable disable settings --- src/components/molecules/ScheduleSettings.tsx | 51 ++++++++----------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/src/components/molecules/ScheduleSettings.tsx b/src/components/molecules/ScheduleSettings.tsx index d8bc8bb9..33df99d9 100644 --- a/src/components/molecules/ScheduleSettings.tsx +++ b/src/components/molecules/ScheduleSettings.tsx @@ -85,6 +85,10 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia handleStart(settings); }; + const deleteSchedule = () => { + + }; + return ( *': { marginBottom: '20px' }, }}> Schedule Settings - - handleChange('enabled', e.target.checked)} - color="primary" - /> - } - label="Enable Scheduling" - /> - - {settings.enabled && ( <> Run once every @@ -195,24 +186,26 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia - )} - {/* {settings.enabled && ( - - {initialSettings?.nextRunAt && ( - `Next scheduled run: ${new Date(initialSettings.nextRunAt).toLocaleString()}` - )} - - )} */} + + + - + + + + ); -}; \ No newline at end of file +};