fix fake-toot avatar

This commit is contained in:
f0x 2022-09-16 19:55:22 +02:00
parent 799878f294
commit e6ca9d2a89
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@ function NewEmoji() {
<div>
<h2>Add new custom emoji</h2>
<FakeToot content="bazinga">
<FakeToot>
Look at this new custom emoji {emojiOrShortcode} isn&apos;t it cool?
</FakeToot>

View file

@ -28,7 +28,7 @@ module.exports = function FakeToot({children}) {
<div className="toot expanded">
<div className="contentgrid">
<span className="avatar">
<img src="http://localhost:8080/assets/default_avatars/GoToSocial_icon6.png" alt=""/>
<img src={account.avatar} alt=""/>
</span>
<span className="displayname">{account.display_name.trim().length > 0 ? account.display_name : account.username}</span>
<span className="username">@{account.username}</span>