Fix initial page number
This commit is contained in:
parent
458dfe66c2
commit
d54a0f1a3c
@ -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,
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user