fix: double icon on user event type (#15239)
* fix: double icon * test: add test for user event type
This commit is contained in:
1 parent
4cdcc85620
commit
d19034c2d5
3 files changed
+14
-2
No files matched your search
@@ -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 ? (
|
||||
|
||||
Reference in new issue
Block a user