main #22

Merged
LiraS2 merged 6 commits from StsDanilo/riseup-squad21:main into main 2025-10-09 20:15:29 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit ca71c56529 - Show all commits

View File

@ -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;

View File

@ -5,8 +5,8 @@ import {
} from "@/components/ui/dialog";
interface PatientDetailsModalProps {
patient: any;
isOpen: boolean;
patient: any;
onClose: () => void;
}