Default to static, with fallback

This commit is contained in:
Lim Chee Aun 2023-03-15 19:30:53 +08:00
parent 5bb8b3ce29
commit 81bf7aeebe
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ function NameText({
> >
{showAvatar && ( {showAvatar && (
<> <>
<Avatar url={avatar} />{' '} <Avatar url={avatarStatic || avatar} />{' '}
</> </>
)} )}
{displayName && !short ? ( {displayName && !short ? (

View file

@ -639,7 +639,7 @@ function Status({
}; };
}} }}
> >
<Avatar url={avatarStatic} size="xxl" /> <Avatar url={avatarStatic || avatar} size="xxl" />
</a> </a>
)} )}
<div class="container"> <div class="container">