diff --git a/src/app/App.tsx b/src/app/App.tsx index b0c184b2..ce35f0e2 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -3790,8 +3790,9 @@ export function App({ store, initialStatusMessage }: AppProps) { } try { - const nextRoutine = cloneProjectScheduleRoutine(currentRoutine); - mutate(nextRoutine); + const draftRoutine = cloneProjectScheduleRoutine(currentRoutine); + mutate(draftRoutine); + const nextRoutine = createProjectScheduleRoutine(draftRoutine); const nextScheduler = upsertProjectScheduleRoutine( cloneProjectScheduler(editorState.projectDocument.scheduler), nextRoutine @@ -10265,6 +10266,21 @@ export function App({ store, initialStatusMessage }: AppProps) { +