fix fake-toot avatar
This commit is contained in:
parent
799878f294
commit
e6ca9d2a89
|
@ -131,7 +131,7 @@ function NewEmoji() {
|
||||||
<div>
|
<div>
|
||||||
<h2>Add new custom emoji</h2>
|
<h2>Add new custom emoji</h2>
|
||||||
|
|
||||||
<FakeToot content="bazinga">
|
<FakeToot>
|
||||||
Look at this new custom emoji {emojiOrShortcode} isn't it cool?
|
Look at this new custom emoji {emojiOrShortcode} isn't it cool?
|
||||||
</FakeToot>
|
</FakeToot>
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ module.exports = function FakeToot({children}) {
|
||||||
<div className="toot expanded">
|
<div className="toot expanded">
|
||||||
<div className="contentgrid">
|
<div className="contentgrid">
|
||||||
<span className="avatar">
|
<span className="avatar">
|
||||||
<img src="http://localhost:8080/assets/default_avatars/GoToSocial_icon6.png" alt=""/>
|
<img src={account.avatar} alt=""/>
|
||||||
</span>
|
</span>
|
||||||
<span className="displayname">{account.display_name.trim().length > 0 ? account.display_name : account.username}</span>
|
<span className="displayname">{account.display_name.trim().length > 0 ? account.display_name : account.username}</span>
|
||||||
<span className="username">@{account.username}</span>
|
<span className="username">@{account.username}</span>
|
||||||
|
|
Loading…
Reference in New Issue