fix: double icon on user event type (#15239)

* fix: double icon

* test: add test for user event type
This commit is contained in:
Udit Takkar authored and GitHub committed 2024-05-29 13:23:58 +00:00
1 parent 4cdcc85620
commit d19034c2d5
3 files changed
+14 -2

No files matched your search

+5 -1
View File
@@ -66,7 +66,11 @@ export function Avatar(props: AvatarProps) {
);
if (href) {
avatar = <Link href={href}>{avatar}</Link>;
avatar = (
<Link data-testid="avatar-href" href={href}>
{avatar}
</Link>
);
}
return title ? (