From 3c6a8078b974df75a05167be426a9b917ec8c60c Mon Sep 17 00:00:00 2001 From: hasiburratul Date: Mon, 4 Dec 2023 03:02:16 -0500 Subject: [PATCH] changed total displayed issues --- front-end/src/layouts/StudentDashboard/StudentDashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front-end/src/layouts/StudentDashboard/StudentDashboard.js b/front-end/src/layouts/StudentDashboard/StudentDashboard.js index 3ed9ba6..9112e4e 100644 --- a/front-end/src/layouts/StudentDashboard/StudentDashboard.js +++ b/front-end/src/layouts/StudentDashboard/StudentDashboard.js @@ -30,7 +30,7 @@ const StudentDashboard = () => { const [windowWidth, setWindowWidth] = useState(window.innerWidth); // Other state initializations for UI functionalities const [currentPage, setCurrentPage] = useState(1); - const itemsPerPage = windowWidth <= 768 ? 15 : 10; + const itemsPerPage = windowWidth <= 768 ? 10 : 12; const [selectedDepartment, setSelectedDepartment] = useState(""); const [selectedStatus, setSelectedStatus] = useState(""); const [searchQuery, setSearchQuery] = useState("");