From 094b11e15c3dd459e3453228305ba58dee990f1d Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Tue, 8 Oct 2024 12:38:17 +0530 Subject: [PATCH] fix cypress --- src/Components/Facility/ConsultationDetails/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Components/Facility/ConsultationDetails/index.tsx b/src/Components/Facility/ConsultationDetails/index.tsx index 3b39a274dc6..f09d4547850 100644 --- a/src/Components/Facility/ConsultationDetails/index.tsx +++ b/src/Components/Facility/ConsultationDetails/index.tsx @@ -283,7 +283,10 @@ export const ConsultationDetails = (props: any) => { patient={patientData} abhaNumber={abhaNumberData} consultation={consultationData} - fetchPatientData={() => patientDataQuery.refetch()} + fetchPatientData={() => { + consultationQuery.refetch(); + patientDataQuery.refetch(); + }} consultationId={consultationId} activeShiftingData={activeShiftingData} showAbhaProfile={qParams["show-abha-profile"] === "true"}