Possible fix for avatars showing stale image data

By giving React a different key for different users' avatars, this hopefully ensures that a new <img> element will be created when the avatar component switches to a different user.
This commit is contained in:
Robin
2026-03-30 16:25:21 +02:00
parent 40fdef89eb
commit 74b1f299a8

View File

@@ -136,6 +136,7 @@ export const Avatar: FC<Props> = ({
return (
<CompoundAvatar
key={id}
className={className}
id={id}
name={name}