diff --git a/libs/webb-ui-components/src/components/Pagination/Pagination.tsx b/libs/webb-ui-components/src/components/Pagination/Pagination.tsx index 9ec08e2ce..ca20bbe74 100644 --- a/libs/webb-ui-components/src/components/Pagination/Pagination.tsx +++ b/libs/webb-ui-components/src/components/Pagination/Pagination.tsx @@ -21,7 +21,7 @@ export const Pagination = React.forwardRef( siblingCount, totalItems, totalPages, - title, + title = '', iconSize = 'lg', ...props }, @@ -70,7 +70,7 @@ export const Pagination = React.forwardRef(

{totalItems === 0 ? 'No items' - : `Showing ${showingItemsCount} ${title} out of ${totalItems ?? '-'}`} + : `Showing ${showingItemsCount} ${title ? `${title} ` : ''}out of ${totalItems ?? '-'}`}

{/** Right buttons */}