diff --git a/src/core_modules/capture-core/components/Pages/New/RegistrationDataEntry/helpers/deriveRelatedStageEvent.js b/src/core_modules/capture-core/components/Pages/New/RegistrationDataEntry/helpers/deriveRelatedStageEvent.js index d5210a555b..972cfe0486 100644 --- a/src/core_modules/capture-core/components/Pages/New/RegistrationDataEntry/helpers/deriveRelatedStageEvent.js +++ b/src/core_modules/capture-core/components/Pages/New/RegistrationDataEntry/helpers/deriveRelatedStageEvent.js @@ -15,7 +15,7 @@ export const deriveRelatedStageEvent = ({ relatedStageRef?: { current: ?RelatedStageRefPayload}, firstStageMetaData: ?{ stage: ?ProgramStage}, programId: string, - teiId?: ?string; + teiId?: ?string, }) => { if (relatedStageRef?.current && relatedStageRef.current.eventHasLinkableStageRelationship()) { const isValid = relatedStageRef.current.formIsValidOnSave(); @@ -50,7 +50,6 @@ export const deriveRelatedStageEvent = ({ linkMode, relatedStageDataValues, clientRequestEvent, - relatedStageType: selectedRelationshipType, programId, currentProgramStageId,