diff --git a/package.json b/package.json index 6748a42add..bfac6df476 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "react-redux": "~7.2.0", "react-router": "~5.1.2", "react-router-dom": "~5.1.2", - "react-scripts": "3.4.0", + "react-scripts": "~3.4.0", "redux": "~4.0.5", "redux-thunk": "~2.3.0", "shortid": "^2.2.15", diff --git a/src/locales/enUs/translations/patients/index.ts b/src/locales/enUs/translations/patients/index.ts index d775434ded..1efd79c4ad 100644 --- a/src/locales/enUs/translations/patients/index.ts +++ b/src/locales/enUs/translations/patients/index.ts @@ -5,5 +5,6 @@ export default { viewPatient: 'View Patient', newPatient: 'New Patient', successfullyCreated: 'Successfully created patient', + successfullyAddedRelatedPerson: 'Successfully added the new related person', }, } diff --git a/src/patients/related-persons/RelatedPersonTab.tsx b/src/patients/related-persons/RelatedPersonTab.tsx index 6132516b64..cc98d479f6 100644 --- a/src/patients/related-persons/RelatedPersonTab.tsx +++ b/src/patients/related-persons/RelatedPersonTab.tsx @@ -68,6 +68,7 @@ const RelatedPersonTab = (props: Props) => { const onAddRelatedPersonSuccess = () => { Toast('success', t('Success!'), t('patient.relatedPersons.successfullyAdded')) + Toast('success', t('Success!'), t('patients.successfullyAddedRelatedPerson'), 'top-left') } const onRelatedPersonSave = (relatedPerson: RelatedPerson) => {