From b191a33ae4496c24f2e2641349aeb9315c7d315d Mon Sep 17 00:00:00 2001 From: CynthiaKamau Date: Tue, 2 Jul 2024 11:49:47 +0300 Subject: [PATCH] (fix) Fixed Workspace window error to use WorkspaceContainer --- .../src/components/cohort-patient-list/helpers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/esm-commons-lib/src/components/cohort-patient-list/helpers.tsx b/packages/esm-commons-lib/src/components/cohort-patient-list/helpers.tsx index 2986aab6b..c44fa52b9 100644 --- a/packages/esm-commons-lib/src/components/cohort-patient-list/helpers.tsx +++ b/packages/esm-commons-lib/src/components/cohort-patient-list/helpers.tsx @@ -7,7 +7,7 @@ import relativeTime from 'dayjs/plugin/relativeTime'; import { AddPatientToListOverflowMenuItem } from '../modals/add-patient-to-list-modal.component'; import { fetchPatientLastEncounter } from '../../api/api'; import { launchForm } from '../../utils/ohri-forms-commons'; -import { navigate, WorkspaceWindow } from '@openmrs/esm-framework'; +import { WorkspaceContainer, navigate } from '@openmrs/esm-framework'; interface PatientMetaConfig { location: { name: string }; @@ -69,7 +69,7 @@ export const LaunchableFormMenuItem = ({ navigate({ to: patientUrl }); }} /> - + )}