Skip to content

Commit

Permalink
Update changelog-index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ranic authored May 16, 2024
1 parent 16758bb commit f2c8061
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/changelog-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export default function ChangelogIndex({ more = "Read more" }) {

// Load initial or additional pages
useEffect(() => {
console.log(pageIndex); // Check the current page index
const morePages = allPages.slice(pageIndex, pageIndex + itemsPerPage);
setDisplayedPages(prev => [...prev, ...morePages]);
}, [pageIndex]);
Expand Down

0 comments on commit f2c8061

Please sign in to comment.