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);
}}
style={{
display: "grid",
gridAutoFlow: "column",
display: "flex",
alignItems: "center",
gap: "4px",
color: typingUserColor(guildId, user.id),
cursor: "pointer"
}}
>
{settings.store.showAvatars && (
<div style={{ marginTop: "4px" }}>
<div>
<Avatar
size="SIZE_16"
src={user.getAvatarURL(guildId, 128)} />