diff --git a/src/components/views/right_panel/UserInfo.tsx b/src/components/views/right_panel/UserInfo.tsx index a79e382401..86c5928721 100644 --- a/src/components/views/right_panel/UserInfo.tsx +++ b/src/components/views/right_panel/UserInfo.tsx @@ -1518,7 +1518,7 @@ export type Member = User | RoomMember | GroupMember; const UserInfoHeader: React.FC<{ member: Member; e2eStatus: E2EStatus; - roomId: string; + roomId?: string; }> = ({ member, e2eStatus, roomId }) => { const cli = useContext(MatrixClientContext); const statusMessage = useUserStatusMessage(member); @@ -1710,7 +1710,7 @@ const UserInfo: React.FC = ({ const header = { scopeHeader } - + ; return