diff options
Diffstat (limited to 'app/javascript/glitch/components/status')
-rw-r--r-- | app/javascript/glitch/components/status/header.js | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/app/javascript/glitch/components/status/header.js b/app/javascript/glitch/components/status/header.js index 5ce59fba4..bdb868e4d 100644 --- a/app/javascript/glitch/components/status/header.js +++ b/app/javascript/glitch/components/status/header.js @@ -216,16 +216,9 @@ if we have a `friend` and a normal `<Avatar>` if we don't. > <div className='status__avatar'>{ friend ? ( - <AvatarOverlay - staticSrc={account.get('avatar_static')} - overlaySrc={friend.get('avatar_static')} - /> + <AvatarOverlay account={account} friend={friend} /> ) : ( - <Avatar - src={account.get('avatar')} - staticSrc={account.get('avatar_static')} - size={48} - /> + <Avatar account={account} size={48} /> ) }</div> <DisplayName account={account} /> |