Fix initial page number

This commit is contained in:
Viet Anh Nguyen 2024-02-06 13:39:14 +07:00
parent 458dfe66c2
commit d54a0f1a3c

View File

@ -14,7 +14,7 @@ const ReportTable: React.FC = () => {
const navigate = useNavigate();
const [pagination, setPagination] = useState(() => ({
page: report_data?.page.total_pages || 1,
page: 1,
page_size: 10,
}));