TypingTweaks: Fix type error

This commit is contained in:
V 2023-05-23 03:22:48 +02:00
parent 9aef97c771
commit dab48288a8
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

@ -89,7 +89,11 @@ const TypingUser = ErrorBoundary.wrap(function ({ user, guildId }: Props) {
src={user.getAvatarURL(guildId, 128)} /> src={user.getAvatarURL(guildId, 128)} />
</div> </div>
)} )}
{GuildMemberStore.getNick(guildId!, user.id) || !guildId && RelationshipStore.getNickname(user.id) || user.globalName || user.username} {GuildMemberStore.getNick(guildId!, user.id)
|| (!guildId && RelationshipStore.getNickname(user.id))
|| (user as any).globalName
|| user.username
}
</strong> </strong>
); );
}, { noop: true }); }, { noop: true });