From d54a0f1a3ca84377a2ede80517e724eb18aa8bf6 Mon Sep 17 00:00:00 2001 From: Viet Anh Nguyen Date: Tue, 6 Feb 2024 13:39:14 +0700 Subject: [PATCH] Fix initial page number --- cope2n-fe/src/components/report-detail/report-table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cope2n-fe/src/components/report-detail/report-table.tsx b/cope2n-fe/src/components/report-detail/report-table.tsx index ae88e73..e74dcc6 100644 --- a/cope2n-fe/src/components/report-detail/report-table.tsx +++ b/cope2n-fe/src/components/report-detail/report-table.tsx @@ -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, }));