Skip to content

Commit

Permalink
Update Home.js
Browse files Browse the repository at this point in the history
  • Loading branch information
HimanshuNarware authored Sep 8, 2024
1 parent a5cf608 commit 3a1f015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Component/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function Home(props) {
}

const [currentPage, setCurrentPage] = useState(1);
const postPerpage = 16;
const postPerpage = 32;
const lastPostIndex = currentPage * postPerpage;
const firstPostIndex = lastPostIndex - postPerpage;
const [dataBaseData, setDataBaseData] = useState([]);
Expand Down Expand Up @@ -300,4 +300,4 @@ function Home(props) {
);
}

export default Home;
export default Home;

0 comments on commit 3a1f015

Please sign in to comment.