forked from RiseUP/riseup-squad21
Merge branch 'main' of https://github.com/m1guelmcf/deploy
This commit is contained in:
commit
ca71c56529
@ -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;
|
||||
|
||||
@ -5,8 +5,8 @@ import {
|
||||
} from "@/components/ui/dialog";
|
||||
|
||||
interface PatientDetailsModalProps {
|
||||
patient: any;
|
||||
isOpen: boolean;
|
||||
patient: any;
|
||||
onClose: () => void;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user