diff --git a/src/app/App.tsx b/src/app/App.tsx index b895b4a0..c8860552 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -4731,29 +4731,6 @@ export function App({ store, initialStatusMessage }: AppProps) { }; }; - const createProjectSequenceControlStepFromOption = ( - targetKey: string, - effectOptionId: ProjectScheduleEffectOptionId - ): Extract => { - const targetOption = resolveSequenceControlTargetOption(targetKey); - - if (targetOption === null) { - throw new Error("The selected sequence control target no longer exists."); - } - - return { - stepClass: getProjectSequenceControlStepClassForEffectOptionId( - effectOptionId - ), - type: "controlEffect", - effect: createProjectScheduleEffectFromOption({ - targetOption, - effectOptionId, - previousEffect: null - }) - }; - }; - const updateProjectSequence = ( sequenceId: string, label: string, @@ -4874,20 +4851,6 @@ export function App({ store, initialStatusMessage }: AppProps) { ); }; - const handleAddProjectSequenceSpecificControlStep = ( - sequenceId: string, - targetKey: string, - effectOptionId: ProjectScheduleEffectOptionId, - label: string, - successMessage: string - ) => { - updateProjectSequence(sequenceId, label, successMessage, (sequence) => { - sequence.effects.push( - createProjectSequenceControlStepFromOption(targetKey, effectOptionId) - ); - }); - }; - const handleAddProjectSequenceDialogueStep = ( sequenceId: string, dialogueId: string