From 137d626b5e891340e162258df8e23d3001b14eba Mon Sep 17 00:00:00 2001 From: Khavin Shankar Date: Tue, 17 Mar 2026 09:49:40 +0530 Subject: [PATCH] fixed patient home path (#78) --- src/components/TokenSearchDialog.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/TokenSearchDialog.tsx b/src/components/TokenSearchDialog.tsx index 7c40b54..197dce9 100644 --- a/src/components/TokenSearchDialog.tsx +++ b/src/components/TokenSearchDialog.tsx @@ -8,7 +8,6 @@ import { } from "@/components/ui/dialog"; import { FC, useMemo, useState } from "react"; -import { ArrowRightIcon } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Patient } from "@/types/patient"; @@ -124,14 +123,14 @@ const PatientCard: FC<{ patient: Patient }> = ({ patient }) => { return (
{ - navigate("patients/verify", { + navigate("patients/home", { query: { phone_number: patient.phone_number, year_of_birth: yearOfBirth, partial_id: patient.partial_id || patient.id.slice(0, 5), }, }); - }} + }} className="border rounded-md p-4 cursor-pointer" >