Skip to content

Commit

Permalink
fix(components): fix totalLength redundant total
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Sep 19, 2023
1 parent a1256e4 commit 79e98bf
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,6 @@ export function Pagination(props: PaginationProps) {
<strong>
{pageIndex + 1} of {pageOptions.length}
</strong>
{totalLength !== undefined && (
<span className='ml-3'>
{i18n("Totals")}: <strong>{new Intl.NumberFormat(undefined).format(totalLength)}</strong> {i18n("items")}
</span>
)}
</li>
)}
{totalLength !== undefined && (
Expand Down

0 comments on commit 79e98bf

Please sign in to comment.