Skip to content

Commit

Permalink
fix: pagination total
Browse files Browse the repository at this point in the history
  • Loading branch information
honeymaro committed Jan 9, 2023
1 parent d069891 commit 7de2c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Pool/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function PoolPage() {

<Pagination
current={currentPage}
total={Math.floor(pools.length - 1 / 8) + 1}
total={Math.floor((pools.length - 1) / 8) + 1}
onChange={(value) => {
setCurrentPage(value);
}}
Expand Down

0 comments on commit 7de2c1f

Please sign in to comment.