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 Aug 23, 2024
1 parent 5e90ab4 commit 604d7b2
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 604d7b2

Please sign in to comment.