Skip to content

Commit e40b070

Browse files
committed
fix(webapp): reset avatar error state when the image url changes
1 parent 32f04bb commit e40b070

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/app/components/primitives/Avatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function Avatar({
7777
/>
7878
);
7979
case "image":
80-
return <AvatarImage avatar={avatar} size={size} />;
80+
return <AvatarImage key={avatar.url} avatar={avatar} size={size} />;
8181
}
8282
}
8383

0 commit comments

Comments
 (0)