diff --git a/src/pages/centers/[cohortId]/index.tsx b/src/pages/centers/[cohortId]/index.tsx index 5967e8f2..9e69eb72 100644 --- a/src/pages/centers/[cohortId]/index.tsx +++ b/src/pages/centers/[cohortId]/index.tsx @@ -190,10 +190,7 @@ const CohortPage = () => { const handleSchedule = () => { console.log('handleSchedule called'); - setCreateEvent(false); - setTimeout(() => { - setCreateEvent(true); - }, 0); + setCreateEvent(true); }; const handleCloseSchedule = () => {