diff --git a/packages/esm-bed-management-app/src/bed-administration/bed-administration-form.component.tsx b/packages/esm-bed-management-app/src/bed-administration/bed-administration-form.component.tsx index fb19ab3e3..6b2803106 100644 --- a/packages/esm-bed-management-app/src/bed-administration/bed-administration-form.component.tsx +++ b/packages/esm-bed-management-app/src/bed-administration/bed-administration-form.component.tsx @@ -21,7 +21,7 @@ import { InlineNotification, } from '@carbon/react'; import { useTranslation } from 'react-i18next'; -import { type Location } from '@openmrs/esm-framework'; +import { getCoreTranslation, type Location } from '@openmrs/esm-framework'; import type { BedType, BedFormData } from '../types'; import { type BedAdministrationData } from './bed-administration-types'; @@ -119,7 +119,7 @@ const BedAdministrationForm: React.FC = ({ onModalChange(false)} preventCloseOnClickOutside> -
+ = ({ - - - + +
+ + + +
); }; diff --git a/packages/esm-bed-management-app/src/bed-type/bed-type-admin-form.component.tsx b/packages/esm-bed-management-app/src/bed-type/bed-type-admin-form.component.tsx index fe7c1583d..83e2b4a40 100644 --- a/packages/esm-bed-management-app/src/bed-type/bed-type-admin-form.component.tsx +++ b/packages/esm-bed-management-app/src/bed-type/bed-type-admin-form.component.tsx @@ -16,7 +16,7 @@ import { InlineNotification, } from '@carbon/react'; import { useTranslation } from 'react-i18next'; -import { type Location } from '@openmrs/esm-framework'; +import { getCoreTranslation, type Location } from '@openmrs/esm-framework'; import type { BedType, BedTypeData } from '../types'; const BedTypeAdministrationSchema = z.object({ @@ -81,8 +81,8 @@ const BedTypeAdministrationForm: React.FC = ({ return ( onModalChange(false)} preventCloseOnClickOutside> -
- + + = ({ /> )} - - - - - - + +
+ + + +
); };