diff --git a/src/app/App.tsx b/src/app/App.tsx index f91c594d..9fe68f50 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -8539,29 +8539,6 @@ export function App({ store, initialStatusMessage }: AppProps) { return; } - if (actionType === "startDialogue") { - const defaultDialogue = projectDialogueList[0] ?? null; - - if (defaultDialogue === null) { - setStatusMessage( - "Author a project dialogue before switching this link to dialogue." - ); - return; - } - - commitInteractionLinkChange( - link, - createStartDialogueInteractionLink({ - id: link.id, - sourceEntityId: sourceEntity.id, - trigger: getCanonicalInteractionLinkTrigger(sourceEntity, link.trigger), - dialogueId: defaultDialogue.id - }), - "Switched link action to start dialogue." - ); - return; - } - if (actionType === "runSequence") { const defaultSequence = projectImpulseSequenceList[0] ?? null; @@ -8744,26 +8721,6 @@ export function App({ store, initialStatusMessage }: AppProps) { ); }; - const updateDialogueInteractionLinkTarget = ( - link: InteractionLink, - dialogueId: string - ) => { - if (link.action.type !== "startDialogue") { - return; - } - - commitInteractionLinkChange( - link, - createStartDialogueInteractionLink({ - id: link.id, - sourceEntityId: link.sourceEntityId, - trigger: link.trigger, - dialogueId - }), - "Updated dialogue link target." - ); - }; - const updateSequenceInteractionLinkTarget = ( link: InteractionLink, sequenceId: string