Call setSelectedTimeZone as we don't want to refactor Scheduler (#1213)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>pull/1202/head^2
parent
da2c825dad
commit
396355e350
|
@ -909,8 +909,9 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {
|
|||
dateOverrides: val.dateOverrides,
|
||||
});
|
||||
}}
|
||||
setTimeZone={(val: string) => {
|
||||
formMethods.setValue("scheduler.selectedTimezone", val);
|
||||
setTimeZone={(timeZone) => {
|
||||
formMethods.setValue("scheduler.selectedTimezone", timeZone);
|
||||
setSelectedTimeZone(timeZone);
|
||||
}}
|
||||
timeZone={selectedTimeZone}
|
||||
availability={availability.map((schedule) => ({
|
||||
|
|
Loading…
Reference in New Issue