From 23021975787140273a44e3f9ccd56a93bee73876 Mon Sep 17 00:00:00 2001 From: Jhony Date: Fri, 3 Oct 2025 17:53:39 -0300 Subject: [PATCH] =?UTF-8?q?mudan=C3=A7as=20listagem=20de=20pacientes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/doctor/medicos/page.tsx | 2 +- components/ui/patient-details-modal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/doctor/medicos/page.tsx b/app/doctor/medicos/page.tsx index 7fa3f0f..fbd3471 100644 --- a/app/doctor/medicos/page.tsx +++ b/app/doctor/medicos/page.tsx @@ -57,8 +57,8 @@ export default function PacientesPage() { return new Intl.DateTimeFormat('pt-BR').format(date); }; - const [currentPage, setCurrentPage] = useState(1); const [itemsPerPage, setItemsPerPage] = useState(5); + const [currentPage, setCurrentPage] = useState(1); const indexOfLastItem = currentPage * itemsPerPage; const indexOfFirstItem = indexOfLastItem - itemsPerPage; diff --git a/components/ui/patient-details-modal.tsx b/components/ui/patient-details-modal.tsx index ca7b716..fea1040 100644 --- a/components/ui/patient-details-modal.tsx +++ b/components/ui/patient-details-modal.tsx @@ -5,8 +5,8 @@ import { } from "@/components/ui/dialog"; interface PatientDetailsModalProps { - patient: any; isOpen: boolean; + patient: any; onClose: () => void; }