mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-15 18:49:21 +00:00
remove ?.
This commit is contained in:
@@ -62,7 +62,7 @@ test("should just render a placeholder when the user has no avatar", () => {
|
|||||||
id={member.userId}
|
id={member.userId}
|
||||||
name={displayName}
|
name={displayName}
|
||||||
size={96}
|
size={96}
|
||||||
src={member?.getMxcAvatarUrl()}
|
src={member.getMxcAvatarUrl()}
|
||||||
/>
|
/>
|
||||||
</TestComponent>,
|
</TestComponent>,
|
||||||
);
|
);
|
||||||
@@ -89,7 +89,7 @@ test("should just render a placeholder when thumbnails are not supported", () =>
|
|||||||
id={member.userId}
|
id={member.userId}
|
||||||
name={displayName}
|
name={displayName}
|
||||||
size={96}
|
size={96}
|
||||||
src={member?.getMxcAvatarUrl()}
|
src={member.getMxcAvatarUrl()}
|
||||||
/>
|
/>
|
||||||
</TestComponent>,
|
</TestComponent>,
|
||||||
);
|
);
|
||||||
@@ -133,7 +133,7 @@ test("should attempt to fetch authenticated media", async () => {
|
|||||||
id={member.userId}
|
id={member.userId}
|
||||||
name={displayName}
|
name={displayName}
|
||||||
size={96}
|
size={96}
|
||||||
src={member?.getMxcAvatarUrl()}
|
src={member.getMxcAvatarUrl()}
|
||||||
/>
|
/>
|
||||||
</TestComponent>,
|
</TestComponent>,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user