Updated glitch files to use the new Avatar class correctly

This commit is contained in:
Ondřej Hruška
2017-08-06 20:59:53 +02:00
parent 811d895f7b
commit 7de0fa698d
2 changed files with 3 additions and 14 deletions

View File

@@ -194,11 +194,7 @@ Here, we render our component using all the things we've defined above.
<div>
<a href={account.get('url')} target='_blank' rel='noopener'>
<span className='account__header__avatar'>
<Avatar
src={account.get('avatar')}
staticSrc={account.get('avatar_static')}
size={90}
/>
<Avatar account={account} size={90} />
</span>
<span
className='account__header__display-name'