diff --git a/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx b/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx index e9f91fd21e4..4b3b5527bb8 100644 --- a/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx +++ b/src/Components/Facility/ConsultationDetails/ConsultationUpdatesTab.tsx @@ -13,8 +13,6 @@ import Chip from "../../../CAREUI/display/Chip"; import { formatAge, formatDate, formatDateTime } from "../../../Utils/utils"; import ReadMore from "../../Common/components/Readmore"; import { DailyRoundsList } from "../Consultations/DailyRoundsList"; -import useQuery from "../../../Utils/request/useQuery"; -import routes from "../../../Redux/api"; const PageTitle = lazy(() => import("../../Common/PageTitle")); @@ -106,11 +104,6 @@ export const ConsultationUpdatesTab = (props: ConsultationTabProps) => { fetchData(); }, [props.consultationData]); - const { data } = useQuery(routes.listConsultationBeds, { - query: { consultation: props.consultationId }, - }); - const bedAssignmentStartDate = data?.results[0].created_date ?? ""; - return (