const handlePageChange = (page, itemCount) => { setActivePage(page); // This is how am updating my state variable setItemsPerPage(itemCount); //