Skip to content

Commit

Permalink
Changing the default of isItemClickable
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Nov 29, 2024
1 parent 9e01b6c commit 3c5747d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dataviews/src/components/dataviews/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type DataViewsProps< Item > = {
: { getItemId: ( item: Item ) => string } );

const defaultGetItemId = ( item: ItemWithId ) => item.id;
const defaultIsItemClickable = () => false;
const defaultIsItemClickable = () => true;
const EMPTY_ARRAY: any[] = [];

export default function DataViews< Item >( {
Expand Down

0 comments on commit 3c5747d

Please sign in to comment.