Reset page number when switching to ignored.

This commit is contained in:
n8detar 2022-04-21 12:18:36 -07:00
parent 3d68f52d5d
commit b41348d961

View File

@ -81,6 +81,7 @@ const Download: NextPage = () => {
const handleSetIgnoredStatus = (selectedIgnoredStatus: IgnoredStatus) => { const handleSetIgnoredStatus = (selectedIgnoredStatus: IgnoredStatus) => {
setIgnoredStatus(selectedIgnoredStatus); setIgnoredStatus(selectedIgnoredStatus);
refetch(); refetch();
handleSetPageNumber(1);
}; };
const handleSetFormHidden = (selectedFormHidden: FormHidden) => { const handleSetFormHidden = (selectedFormHidden: FormHidden) => {