diff --git a/plugin-hrm-form/src/components/caseMergingBanners/ContactAddedToCaseBanner.tsx b/plugin-hrm-form/src/components/caseMergingBanners/ContactAddedToCaseBanner.tsx index cdb387168e..126dc4cb81 100644 --- a/plugin-hrm-form/src/components/caseMergingBanners/ContactAddedToCaseBanner.tsx +++ b/plugin-hrm-form/src/components/caseMergingBanners/ContactAddedToCaseBanner.tsx @@ -40,7 +40,7 @@ type Props = OwnProps & ReturnType & ReturnType { const contact = selectContactByTaskSid(state, taskId); const caseId = contact?.savedContact?.caseId; - const connectedCase = state[namespace].activeContacts?.caseConnectedToContact[contact.savedContact.id]; + const connectedCase = state[namespace].activeContacts.caseConnectedToContact[contact?.savedContact?.id]; return { contact: contact.savedContact, connectedCase,