Skip to content

Commit

Permalink
fix: use pagesize for loading table rows count
Browse files Browse the repository at this point in the history
Co-authored-by: Zack Koppert <[email protected]>
  • Loading branch information
sutterj and zkoppert authored Jun 13, 2024
1 parent dd4abe0 commit 28608ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/[organizationId]/forks/[forkId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ const Fork = () => {
align: 'end',
},
]}
rows={10}
rows={pageSize}
cellPadding="spacious"
/>
<Table.Pagination aria-label="pagination" totalCount={0} />
Expand Down
2 changes: 1 addition & 1 deletion src/app/[organizationId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const Organization = () => {
width: 'auto',
},
]}
rows={10}
rows={pageSize}
cellPadding="spacious"
/>
<Table.Pagination aria-label="pagination" totalCount={0} />
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Home = () => {
rowHeader: true,
},
]}
rows={10}
rows={pageSize}
cellPadding="spacious"
/>
<Table.Pagination aria-label="pagination" totalCount={0} />
Expand Down

0 comments on commit 28608ce

Please sign in to comment.