Skip to content

Commit

Permalink
Block Bindings: Fix ESLint warnings (WordPress#64684)
Browse files Browse the repository at this point in the history
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: gziolo <[email protected]>
  • Loading branch information
3 people authored and bph committed Aug 31, 2024
1 parent 3c27f70 commit 8ee0676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/button/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ function ButtonEdit( props ) {
} ),
};
},
[ isSelected, metadata?.bindings?.url ]
[ context, isSelected, metadata?.bindings?.url ]
);

return (
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/image/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export function ImageEdit( {
: __( 'Connected to dynamic data' ),
};
},
[ isSingleSelected, metadata?.bindings?.url ]
[ context, isSingleSelected, metadata?.bindings?.url ]
);
const placeholder = ( content ) => {
return (
Expand Down

0 comments on commit 8ee0676

Please sign in to comment.