Skip to content

Commit 94a51e3

Browse files
Apply suggested fix to src/components/module/singleVideo/listVideos/Pagination.tsx from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 44b773f commit 94a51e3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/module/singleVideo/listVideos/Pagination.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ const Pagination = ({ itemsPerPage = 5, items = defaultItems }: PaginationProps)
5858
key={index + 1}
5959
>
6060
<button
61-
className={`min-w-[44px] min-h-[44px] inline-flex items-center justify-center rounded-sm transition-all duration-300 ease-in-out ${
61+
className={`min-w-[44px] min-h-[44px] w-[44px] h-[44px] inline-flex items-center justify-center rounded-sm transition-all duration-300 ease-in-out ${
6262
currentPage === index + 1
63-
? "bg-error w-[20px] h-[5px]"
64-
: "bg-singleVideo-gray w-[12px] h-[5px]"
63+
? "bg-error"
64+
: "bg-singleVideo-gray"
6565
}`}
6666
onClick={() => handlePageChange(index + 1)}
6767
aria-label={`Page ${index + 1}`}

0 commit comments

Comments
 (0)