Skip to content

Commit b31697c

Browse files
committed
set to page one after filtering
1 parent ddd5dc8 commit b31697c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/CatalogueContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ const CatalogueContentInner = ({ subject }: { subject: string | null }) => {
207207
answerkeyCondition
208208
);
209209
});
210-
210+
setCurrentPage(1);
211211
setFilteredPapers(filtered);
212212
setAppliedFilters(
213213
selectedExams.length > 0 ||

0 commit comments

Comments
 (0)