fix: remove labels in pagination

This commit is contained in:
Dorian Niemiec 2024-09-08 11:39:08 +02:00
parent ca2fe12101
commit 4001e1b681

View file

@ -70,7 +70,6 @@ const PaginationPrevious = ({
{...props} {...props}
> >
<ChevronLeft className="h-4 w-4" /> <ChevronLeft className="h-4 w-4" />
<span>Previous</span>
</PaginationLink> </PaginationLink>
); );
PaginationPrevious.displayName = "PaginationPrevious"; PaginationPrevious.displayName = "PaginationPrevious";
@ -85,7 +84,6 @@ const PaginationNext = ({
className={cn("gap-1 pr-2.5", className)} className={cn("gap-1 pr-2.5", className)}
{...props} {...props}
> >
<span>Next</span>
<ChevronRight className="h-4 w-4" /> <ChevronRight className="h-4 w-4" />
</PaginationLink> </PaginationLink>
); );
@ -101,7 +99,6 @@ const PaginationEllipsis = ({
{...props} {...props}
> >
<MoreHorizontal className="h-4 w-4" /> <MoreHorizontal className="h-4 w-4" />
<span className="sr-only">More pages</span>
</span> </span>
); );
PaginationEllipsis.displayName = "PaginationEllipsis"; PaginationEllipsis.displayName = "PaginationEllipsis";