Skip to content

Commit

Permalink
DataViews: Code Quality remove some unused props from action. (#56477)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Nov 23, 2023
1 parent 0b6c4a0 commit cc1870a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/edit-site/src/components/dataviews/item-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export default function ItemActions( { item, actions } ) {
<PrimaryActionTrigger
key={ action.id }
action={ action }
item={ item }
onClick={ () => action.callback( item ) }
/>
);
Expand All @@ -128,7 +127,6 @@ export default function ItemActions( { item, actions } ) {
<SecondaryActionTrigger
key={ action.id }
action={ action }
item={ item }
onClick={ () =>
action.callback( item )
}
Expand Down

0 comments on commit cc1870a

Please sign in to comment.