diff --git a/src/components/views/avatars/DecoratedRoomAvatar.tsx b/src/components/views/avatars/DecoratedRoomAvatar.tsx
index 5fb3287980..1156c80313 100644
--- a/src/components/views/avatars/DecoratedRoomAvatar.tsx
+++ b/src/components/views/avatars/DecoratedRoomAvatar.tsx
@@ -41,12 +41,10 @@ export default class DecoratedRoomAvatar extends React.PureComponent
{badge}
-
+ ;
}
}
\ No newline at end of file
diff --git a/src/components/views/rooms/RoomBreadcrumbs2.tsx b/src/components/views/rooms/RoomBreadcrumbs2.tsx
index 2f2b815002..c0417fc592 100644
--- a/src/components/views/rooms/RoomBreadcrumbs2.tsx
+++ b/src/components/views/rooms/RoomBreadcrumbs2.tsx
@@ -95,7 +95,7 @@ export default class RoomBreadcrumbs2 extends React.PureComponent {
- const roomTags = RoomListStore.instance.getTagsForRoom(r)
+ const roomTags = RoomListStore.instance.getTagsForRoom(r);
const roomTag = roomTags.includes(DefaultTagID.DM) ? DefaultTagID.DM : roomTags[0];
return (
{
avatarSize={avatarSize}
tag={this.props.tag}
displayBadge={this.props.isMinimized}
- />
+ />;
- let badge: React.ReactNode;
+ let badge: React.ReactNode;
if (!this.props.isMinimized) {
badge =
+ />;
}
// TODO: the original RoomTile uses state for the room name. Do we need to?