Skip to content

Commit

Permalink
Merge branch 'dev' into fix(web)/reset-pages-when-filtered
Browse files Browse the repository at this point in the history
  • Loading branch information
alcercu authored May 31, 2023
2 parents bcfe12e + b30f287 commit bdb26dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion veascan-web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ const App = () => {
<TxFilterHeader />
{data ? (
<>
<SnapshotAccordion items={mapDataForAccordion(data.snapshots)} />
<SnapshotAccordion
key={currentPage}
items={mapDataForAccordion(data.snapshots)}
/>
<StyledPagination
numPages={data.isMorePages ? currentPage + 1 : currentPage}
currentPage={currentPage}
Expand Down

0 comments on commit bdb26dc

Please sign in to comment.