Skip to content

Commit 9056c44

Browse files
committed
Make widget show all the time to avoid blink
1 parent 953428b commit 9056c44

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

site/src/components/PaginationWidget/PaginationWidget.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ export const PaginationWidget = ({
4040
const firstPageActive = currentPage === 1 && numPages !== 0
4141
const lastPageActive = currentPage === numPages && numPages !== 0
4242

43-
// No need to display any pagination if we know the number of pages is 1 or 0
44-
if ((numPages && numPages <= 1) || numRecords === 0) {
45-
return null
46-
}
47-
4843
return (
4944
<div style={containerStyle} className={styles.defaultContainerStyles}>
5045
<Button

0 commit comments

Comments
 (0)