Skip to content

Commit d8e4684

Browse files
committed
fix: fix pagination in filtering example
1 parent 4354094 commit d8e4684

File tree

1 file changed

+1
-1
lines changed
  • packages/module/patternfly-docs/content/extensions/data-view/examples/Functionality

1 file changed

+1
-1
lines changed

packages/module/patternfly-docs/content/extensions/data-view/examples/Functionality/FiltersExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const MyTable: React.FunctionComponent = () => {
7272
pagination={
7373
<Pagination
7474
perPageOptions={perPageOptions}
75-
itemCount={repositories.length}
75+
itemCount={filteredData.length}
7676
{...pagination}
7777
/>
7878
}

0 commit comments

Comments
 (0)