Add non-null RoomView key

pull/21833/head
Luke Barnard 2017-05-24 18:04:04 +01:00
parent dcf2fb68ae
commit fffe425730
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ export default React.createClass({
oobData={this.props.roomOobData}
highlightedEventId={this.props.highlightedEventId}
eventPixelOffset={this.props.initialEventPixelOffset}
key={this.props.currentRoomId}
key={this.props.currentRoomId || 'roomview'}
opacity={this.props.middleOpacity}
collapsedRhs={this.props.collapse_rhs}
ConferenceHandler={this.props.ConferenceHandler}