diff --git a/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx b/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx index 615d7b6ae49..949f2f77895 100644 --- a/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx +++ b/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx @@ -684,7 +684,7 @@ export const ConsultationUpdatesTab = (props: ConsultationTabProps) => { isTab2Active={showEvents} /> {showEvents ? ( - + ) : ( )} diff --git a/src/Components/Facility/ConsultationDetails/Events/EventsList.tsx b/src/Components/Facility/ConsultationDetails/Events/EventsList.tsx index 82a806dfc6b..36991333888 100644 --- a/src/Components/Facility/ConsultationDetails/Events/EventsList.tsx +++ b/src/Components/Facility/ConsultationDetails/Events/EventsList.tsx @@ -1,6 +1,5 @@ import { useTranslation } from "react-i18next"; import { useSlugs } from "../../../../Common/hooks/useSlug"; -import { ConsultationModel } from "../../models"; import PaginatedList from "../../../../CAREUI/misc/PaginatedList"; import routes from "../../../../Redux/api"; import { TimelineNode } from "../../../../CAREUI/display/Timeline"; @@ -9,15 +8,10 @@ import GenericEvent from "./GenericEvent"; import { EventGeneric } from "./types"; import { getEventIcon } from "./iconMap"; -interface Props { - consultation: ConsultationModel; -} - -export default function EventsList({ consultation }: Props) { +export default function EventsList() { const [consultationId] = useSlugs("consultation"); const { t } = useTranslation(); - return ( {() => (