Skip to content

Commit

Permalink
Replace placeholders with social icons
Browse files Browse the repository at this point in the history
  • Loading branch information
allilevine committed Oct 28, 2021
1 parent 6901c00 commit 513b5e7
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ const ConnectionIcon = props => {

return (
<label htmlFor={ id } className="jetpack-publicize-connection-label">
<div className="components-connection-icon__picture">
{ profilePicture ? (
<img src={ profilePicture } alt={ label } />
) : (
<span className="placeholder" />
) }
<div className={ profilePicture ? 'components-connection-icon__picture' : '' }>
{ profilePicture && <img src={ profilePicture } alt={ label } /> }
<SocialServiceIcon
serviceName={ serviceName }
className="jetpack-publicize-gutenberg-social-icon"
Expand Down

0 comments on commit 513b5e7

Please sign in to comment.