diff --git a/src/Components/Patient/PatientInfoCard.tsx b/src/Components/Patient/PatientInfoCard.tsx index 5a2a69727d1..c547ed4860b 100644 --- a/src/Components/Patient/PatientInfoCard.tsx +++ b/src/Components/Patient/PatientInfoCard.tsx @@ -678,7 +678,7 @@ export default function PatientInfoCard(props: { className="dropdown-item-primary pointer-events-auto m-2 flex cursor-pointer items-center justify-start gap-2 rounded border-0 p-2 text-sm font-normal transition-all duration-200 ease-in-out" onClick={() => { close(); - setShowABHAProfile(true); + setShowFetchABDMRecords(true); triggerGoal("Patient Card Button Clicked", { buttonName: "Fetch Records over ABDM", consultationId: consultation?.id, @@ -689,18 +689,6 @@ export default function PatientInfoCard(props: { Fetch Records over ABDM -
{ - triggerGoal("Patient Card Button Clicked", { - buttonName: "Link Care Context", - consultationId: consultation?.id, - userId: authUser?.id, - }); - close(); - setShowFetchABDMRecords(true); - }} - >
)}