Skip to content

Commit

Permalink
(refactor) Remove redundant files in pmtct homepage (#1875)
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau authored Jun 19, 2024
1 parent 467efa3 commit 6f9c429
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
4 changes: 2 additions & 2 deletions packages/esm-ohri-pmtct-app/src/home.component.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from 'react';
import { OHRIWelcomeSection } from '@ohri/openmrs-esm-ohri-commons-lib';
import MaternalChildSummaryTiles from './views/summary-tabs/maternal-child-summary-tiles.component';
import LabResultsSummary from './views/summary-tabs/mother-child-summary-tabs.component';
import MotherChildSummary from './views/summary-tabs/mother-child-summary-tabs.component';

const Home: React.FC = () => {
return (
<div>
<OHRIWelcomeSection title="Maternal & Child Health" />
<MaternalChildSummaryTiles />
<LabResultsSummary />
<MotherChildSummary />
</div>
);
};
Expand Down
20 changes: 0 additions & 20 deletions packages/esm-ohri-pmtct-app/src/views/labs/labs.component.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styles from '../summary-tabs/ohri-patient-tabs.scss';
import { useTranslation } from 'react-i18next';
import { PatientList } from '@ohri/openmrs-esm-ohri-commons-lib';

const LabResultsSummary: React.FC = () => {
const MotherChildSummary: React.FC = () => {
const { t } = useTranslation();
return (
<Tabs type="container" className={styles.tabContainer}>
Expand All @@ -20,4 +20,4 @@ const LabResultsSummary: React.FC = () => {
);
};

export default LabResultsSummary;
export default MotherChildSummary;

0 comments on commit 6f9c429

Please sign in to comment.