Add non-null RoomView key

This commit is contained in:
Luke Barnard 2017-05-24 18:04:04 +01:00
parent dcf2fb68ae
commit fffe425730

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}