Skip to content

Commit

Permalink
Remove unused id property
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Apr 17, 2024
1 parent 8df859b commit 5f81fb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/dataviews/src/view-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,12 @@ export default function ViewList( {
data,
fields,
getItemId,
id: preferredId,
isLoading,
onSelectionChange,
selection,
view,
} ) {
const baseId = useInstanceId( ViewList, 'view-list', preferredId );
const baseId = useInstanceId( ViewList, 'view-list' );
const selectedItem = data?.findLast( ( item ) =>
selection.includes( item.id )
);
Expand Down

0 comments on commit 5f81fb8

Please sign in to comment.