diff --git a/packages/esm-commons-lib/src/components/encounter-list/encounter-list.component.tsx b/packages/esm-commons-lib/src/components/encounter-list/encounter-list.component.tsx index eb91694bc..df878dace 100644 --- a/packages/esm-commons-lib/src/components/encounter-list/encounter-list.component.tsx +++ b/packages/esm-commons-lib/src/components/encounter-list/encounter-list.component.tsx @@ -65,7 +65,7 @@ export const EncounterList: React.FC = ({ const { encounters, isLoading, onFormSave } = useEncounterRows(patientUuid, encounterType, filter); const { moduleName, workspaceWindowSize, displayText, hideFormLauncher } = launchOptions; - const defaultActions = useMemo( + const defaultActions = useMemo( () => [ { label: t('viewEncounter', 'View'), @@ -91,7 +91,7 @@ export const EncounterList: React.FC = ({ if (!isLoadingFormsJson) { const formsWithFilteredIntents = formsJson.map((form) => { const descriptor = formList.find((formDescriptor) => formDescriptor.name === form.name); - // handle excluded intents + // handle excluded intents if (descriptor?.excludedIntents?.length) { form['availableIntents'] = form['availableIntents'].filter( (intentEntry) => !descriptor.excludedIntents.includes(intentEntry.intent), @@ -217,7 +217,7 @@ export const EncounterList: React.FC = ({ }, [encounters, pageSize, constructPaginatedTableRows, currentPage]); const formLauncher = useMemo(() => { - if (forms.length == 1 && !forms[0]['availableIntents']?.length) { + if (forms.length == 1 && !forms[0]['availableIntents']?.length) { // we only have one form with no intents // just return the "Add" button return ( @@ -243,7 +243,7 @@ export const EncounterList: React.FC = ({ ); } else if (forms.length && !(hideFormLauncher ?? isDead)) { - return () => ( + return ( diff --git a/packages/esm-ohri-pmtct-app/src/config-schema.ts b/packages/esm-ohri-pmtct-app/src/config-schema.ts index 606180cb6..3c7e055af 100644 --- a/packages/esm-ohri-pmtct-app/src/config-schema.ts +++ b/packages/esm-ohri-pmtct-app/src/config-schema.ts @@ -30,7 +30,7 @@ export const configSchema = { _type: Type.Object, _description: 'List of uuids for PMTCT forms.', _default: { - antenatal: '', + antenatal: '5255a535-2acb-3f44-bd0a-3f80595dece1', labourAndDelivery: '1e5614d6-5306-11e6-beb8-9e71128cae77', motherPostnatal: 'e6b67aa4-6c59-4470-8ad5-b994efeda553', infantPostnatal: '5022c5d7-ea45-47ce-bd65-1ba1d8ad2467',