fix(typingTweaks): refactor to support both refresh and non-refresh (#180)

This commit is contained in:
panbread 2025-03-13 21:20:27 +04:00 committed by GitHub
parent 597a661d0b
commit c26c9f3b64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,15 +72,15 @@ const TypingUser = ErrorBoundary.wrap(function ({ user, guildId }: Props) {
openUserProfile(user.id); openUserProfile(user.id);
}} }}
style={{ style={{
display: "grid", display: "flex",
gridAutoFlow: "column", alignItems: "center",
gap: "4px", gap: "4px",
color: typingUserColor(guildId, user.id), color: typingUserColor(guildId, user.id),
cursor: "pointer" cursor: "pointer"
}} }}
> >
{settings.store.showAvatars && ( {settings.store.showAvatars && (
<div style={{ marginTop: "4px" }}> <div>
<Avatar <Avatar
size="SIZE_16" size="SIZE_16"
src={user.getAvatarURL(guildId, 128)} /> src={user.getAvatarURL(guildId, 128)} />