Skip to content

Commit

Permalink
Fix CSS class concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshuxkumar committed Jan 26, 2025
1 parent 66b9af3 commit 454dd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/pagination/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function Pagination({ totalPages, currentPage, onPageChange }: Pa
disabled={currentPage === totalPages}
className={`font-normal flex h-[34px] items-center justify-center rounded bg-white px-3 py-[7px] text-sm leading-[17px] tracking-[-0.01em] ${
currentPage === totalPages
? 'cursor-not-allowedtext-gray-300 hover:bg-gray-white text-gray-300'
? 'hover:bg-gray-white cursor-not-allowed text-gray-300'
: 'text-[#141717] hover:bg-gray-50'
}`}
text='Next'
Expand Down

0 comments on commit 454dd35

Please sign in to comment.