-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8873b45
commit ee940b0
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
...sm-cervical-cancer-app/src/cervical-cancer/cacx-visits/cacx-visits-services.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
import React from 'react'; | ||
import { TabsComponent } from '@ohri/openmrs-esm-ohri-commons-lib'; | ||
import { useConfig } from '@openmrs/esm-framework'; | ||
import cacxConfigSchema from './cacx-config.json'; | ||
|
||
interface OverviewListProps { | ||
patientUuid: string; | ||
} | ||
|
||
const CaCxCervicalCancerServices: React.FC<OverviewListProps> = ({ patientUuid }) => { | ||
return <TabsComponent patientUuid={patientUuid} configSchema={cacxConfigSchema} />; | ||
const config = useConfig(); | ||
|
||
return <TabsComponent patientUuid={patientUuid} configSchema={cacxConfigSchema} config={config} />; | ||
}; | ||
|
||
export default CaCxCervicalCancerServices; |
5 changes: 2 additions & 3 deletions
5
...ages/esm-commons-lib/src/components/encounter-list-tabs/encounter-list-tabs.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters