From e8bd3e3d4218cf565b6b5758feabc3204a4bfa1d Mon Sep 17 00:00:00 2001 From: jamil314 Date: Fri, 27 Sep 2024 13:17:15 +0600 Subject: [PATCH] fix: remove extra divider in birth declaration form --- src/form/addresses/index.ts | 2 +- src/form/birth/index.ts | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/form/addresses/index.ts b/src/form/addresses/index.ts index a28396f9d..6576f0015 100644 --- a/src/form/addresses/index.ts +++ b/src/form/addresses/index.ts @@ -62,7 +62,7 @@ export const defaultAddressConfiguration: IAddressConfiguration[] = [ { // INFORMANT ADDRESS FIELDS precedingFieldId: - 'birth.informant.informant-view-group.informant-nid-seperator', + 'birth.informant.informant-view-group.informantBirthRegistrationNumber', configurations: [ { config: AddressSubsections.PRIMARY_ADDRESS_SUBSECTION, diff --git a/src/form/birth/index.ts b/src/form/birth/index.ts index 2123080cc..3cbd0093c 100644 --- a/src/form/birth/index.ts +++ b/src/form/birth/index.ts @@ -274,13 +274,6 @@ export const birthForm: ISerializedForm = { hideIfNidIntegrationEnabled.concat(hideIfInformantMotherOrFather), true ), - // preceding field of address fields - divider('informant-nid-seperator', [ - { - action: 'hide', - expression: informantNotMotherOrFather - } - ]), // ADDRESS FIELDS WILL RENDER HERE divider('informant-address-seperator', [ {