diff --git a/src/components/Directory/NotesCardViewDirectory.jsx b/src/components/Directory/NotesCardViewDirectory.jsx index be207ffd..d29354d7 100644 --- a/src/components/Directory/NotesCardViewDirectory.jsx +++ b/src/components/Directory/NotesCardViewDirectory.jsx @@ -107,7 +107,7 @@ const NotesCardViewDirectory = ({ notes, setNotesForFilter, searchText, filterAp return (
{/* Filter Dropdown */} -
+
{/* Notes List */} @@ -129,41 +129,46 @@ const NotesCardViewDirectory = ({ notes, setNotesForFilter, searchText, filterAp {/* Pagination */} {totalPages > 1 && ( -
-
- +
+ {/* Previous Button */} + - {[...Array(totalPages)].map((_, i) => { - const page = i + 1; - return ( - - ); - })} + {/* Page Number Buttons */} + {[...Array(totalPages)].map((_, i) => { + const page = i + 1; + return ( + + ); + })} - -
+ {/* Next Button */} +
)}