diff --git a/packages/block-library/src/avatar/edit.js b/packages/block-library/src/avatar/edit.js index 8309bc5e878a0..7e760bd9e0c8f 100644 --- a/packages/block-library/src/avatar/edit.js +++ b/packages/block-library/src/avatar/edit.js @@ -193,29 +193,13 @@ const UserEdit = ( { attributes, context, setAttributes, isSelected } ) => { avatar={ avatar } setAttributes={ setAttributes } /> - { attributes.isLink ? ( - event.preventDefault() } - > - - - ) : ( - - ) } + ); };