diff --git a/packages/module/patternfly-docs/content/extensions/data-view/examples/DataView/PredefinedLayoutFullExample.tsx b/packages/module/patternfly-docs/content/extensions/data-view/examples/DataView/PredefinedLayoutFullExample.tsx index b4873e9d..a649bc71 100644 --- a/packages/module/patternfly-docs/content/extensions/data-view/examples/DataView/PredefinedLayoutFullExample.tsx +++ b/packages/module/patternfly-docs/content/extensions/data-view/examples/DataView/PredefinedLayoutFullExample.tsx @@ -152,7 +152,7 @@ const RepositoriesTable: React.FunctionComponent = ({ se const pagination = useDataViewPagination({ perPage: 5 }); const { page, perPage } = pagination; - const selection = useDataViewSelection({ matchOption: (a, b) => a[0] === b[0] }); + const selection = useDataViewSelection({ matchOption: (a, b) => a.row[0] === b.row[0] }); const { selected, onSelect, isSelected } = selection; const { trigger } = useDataViewEventsContext();