Skip to content

Commit

Permalink
regression: Reactions loader skeleton color (#31781)
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-rajpal authored Feb 20, 2024
1 parent fe089ff commit 1738e14
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ const ReactionTooltip = ({ emojiName, usernames, mine, messageId, showRealName,
if (isLoading) {
return (
<>
<Skeleton width='x200' variant='text' backgroundColor='black' />
<Skeleton width='x200' variant='text' backgroundColor='black' />
{usernames.length > 5 && <Skeleton width='x200' variant='text' backgroundColor='black' />}
{usernames.length > 8 && <Skeleton width='x200' variant='text' backgroundColor='black' />}
<Skeleton width='x200' variant='text' backgroundColor='surface-light' />
<Skeleton width='x200' variant='text' backgroundColor='surface-light' />
{usernames.length > 5 && <Skeleton width='x200' variant='text' backgroundColor='surface-light' />}
{usernames.length > 8 && <Skeleton width='x200' variant='text' backgroundColor='surface-light' />}
</>
);
}
Expand Down

0 comments on commit 1738e14

Please sign in to comment.