diff --git a/app/presentation/RoomItem.js b/app/presentation/RoomItem.js index fd294202a..b69da666d 100644 --- a/app/presentation/RoomItem.js +++ b/app/presentation/RoomItem.js @@ -120,24 +120,13 @@ export default class RoomItem extends React.PureComponent { render() { const { unread, name, _updatedAt } = this.props; - if (_updatedAt) { - return ( - - {this.icon} - - { name } - { moment(_updatedAt).format(this.props.dateFormat) } - - {this.renderNumber(unread)} - - ); - } return ( {this.icon} { name } + {_updatedAt ? { moment(_updatedAt).format(this.props.dateFormat) } : null} {this.renderNumber(unread)}