Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 4aba581

Browse files
authored
fix(router): change category resets pagination (#111)
1 parent 37a1dcf commit 4aba581

File tree

1 file changed

+1
-0
lines changed
  • aqueductcore/frontend/src/pages/ExperimentRecordsPage

1 file changed

+1
-0
lines changed

aqueductcore/frontend/src/pages/ExperimentRecordsPage/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ function ExperimentRecordsPage({ category }: { category?: ExperimentRecordsPageT
146146
// TODO: This needs an API change to handle favourite and archive functionality as a new field
147147
// handle different categories based on different <Routes /> in App.tsx
148148
useDidUpdateEffect(() => {
149+
handleResetPagination()
149150
switch (category) {
150151
case "favourites":
151152
setFilters({

0 commit comments

Comments
 (0)