From f008a76c4286a0a108670f8099937e1f7c733746 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 13 Sep 2024 15:57:48 +0530 Subject: [PATCH] feat: use moment timezones --- src/components/molecules/ScheduleSettings.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/molecules/ScheduleSettings.tsx b/src/components/molecules/ScheduleSettings.tsx index 2c16349e..fb2d01c9 100644 --- a/src/components/molecules/ScheduleSettings.tsx +++ b/src/components/molecules/ScheduleSettings.tsx @@ -4,6 +4,7 @@ import { MenuItem, TextField, Typography, Box } from "@mui/material"; import { Dropdown } from "../atoms/DropdownMui"; import Button from "@mui/material/Button"; import { modalStyle } from "./AddWhereCondModal"; +import { validMomentTimezones } from '../../constants/const'; interface ScheduleSettingsProps { isOpen: boolean; @@ -143,7 +144,7 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose }: Sche handleSelect={(e) => handleChange('timezone', e.target.value)} sx={dropDownStyle} > - {timezones.map((tz) => ( + {validMomentTimezones.map((tz) => ( {tz} ))}