Skip to content

Commit 9f9e1d9

Browse files
amartripathi0devsargam
authored andcommitted
fix: add pointer cursor on hover for pagination buttons in tracks
1 parent 603c372 commit 9f9e1d9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

apps/web/components/Tracks.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,15 @@ export const Tracks = ({ tracks, categories }: TracksWithCategoriesProps) => {
228228
<div className="flex justify-end items-end mt-4 w-full">
229229
<Pagination>
230230
<PaginationContent>
231-
<PaginationItem>
231+
<PaginationItem className="cursor-pointer">
232232
<PaginationPrevious
233233
onClick={() => {
234234
setCurrentPage((prev) => Math.max(prev - 1, 1));
235235
}}
236236
/>
237237
</PaginationItem>
238238
{Array.from({ length: totalPages }).map((_, index) => (
239-
<PaginationItem key={index}>
239+
<PaginationItem key={index} className="cursor-pointer">
240240
<PaginationLink onClick={() => setCurrentPage(index + 1)}>{index + 1}</PaginationLink>
241241
</PaginationItem>
242242
))}
@@ -248,7 +248,9 @@ export const Tracks = ({ tracks, categories }: TracksWithCategoriesProps) => {
248248
</>
249249
)}
250250

251-
<PaginationItem>
251+
<PaginationItem
252+
className="cursor-pointer"
253+
>
252254
<PaginationNext
253255
onClick={() => {
254256
setCurrentPage((prev) => Math.min(prev + 1, totalPages));

0 commit comments

Comments
 (0)