diff --git a/packages/esm-appointments-app/src/calendar/patient-list/calenar-patient-list.scss b/packages/esm-appointments-app/src/calendar/patient-list/calenar-patient-list.scss deleted file mode 100644 index b9905134a..000000000 --- a/packages/esm-appointments-app/src/calendar/patient-list/calenar-patient-list.scss +++ /dev/null @@ -1,14 +0,0 @@ -@use '@carbon/styles/scss/type'; -@use '@carbon/colors'; - -.container { - margin: 1rem; -} - -.header { - margin-bottom: 1rem; - & > h2 { - @include type.type-style('heading-02'); - color: colors.$gray-100; - } -} diff --git a/packages/esm-appointments-app/src/calendar/patient-list/calendar-patient-list.component.tsx b/packages/esm-appointments-app/src/calendar/patient-list/calendar-patient-list.component.tsx index ab077ddc7..ba25605e1 100644 --- a/packages/esm-appointments-app/src/calendar/patient-list/calendar-patient-list.component.tsx +++ b/packages/esm-appointments-app/src/calendar/patient-list/calendar-patient-list.component.tsx @@ -1,31 +1,29 @@ -import dayjs from 'dayjs'; import React from 'react'; +import dayjs from 'dayjs'; import { useTranslation } from 'react-i18next'; -import { omrsDateFormat } from '../../constants'; import { - DataTableSkeleton, + Button, DataTable, - TableContainer, + DataTableSkeleton, Table, - TableHead, - TableRow, - TableHeader, TableBody, TableCell, + TableContainer, + TableHead, + TableHeader, + TableRow, TableToolbar, TableToolbarContent, TableToolbarSearch, - Button, } from '@carbon/react'; +import { Download } from '@carbon/react/icons'; import { ExtensionSlot, formatDate, formatDatetime } from '@openmrs/esm-framework'; import { downloadAppointmentsAsExcel } from '../../helpers/excel'; -import { Download } from '@carbon/react/icons'; -import styles from './calenar-patient-list.scss'; +import { omrsDateFormat } from '../../constants'; import { useAppointments } from '../../hooks/useAppointments'; +import styles from './calendar-patient-list.scss'; -interface CalendarPatientListProps {} - -const CalendarPatientList: React.FC = () => { +const CalendarPatientList: React.FC = () => { const { t } = useTranslation(); const currentPathName: string = decodeURI(window.location.pathname); const serviceName = currentPathName.split('/')[7]; @@ -84,7 +82,7 @@ const CalendarPatientList: React.FC = () => { {({ rows, headers, getHeaderProps, getRowProps, getBatchActionProps, onInputChange }) => ( - + = () => {