Skip to content

Commit

Permalink
fix comparison in historical page
Browse files Browse the repository at this point in the history
  • Loading branch information
domechn committed Oct 21, 2023
1 parent 184a8ee commit 0c81e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/historical-data/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ const App = ({
// split data into pages
const idx = (pageNum - 1) * pageSize;
return _(data)
.slice(idx, idx + pageSize)
.map((d, idx) => {
return (
<div
Expand Down Expand Up @@ -214,6 +213,7 @@ const App = ({
</div>
);
})
.slice(idx, idx + pageSize)
.value();
}

Expand Down

0 comments on commit 0c81e80

Please sign in to comment.