This should be props, not state

pull/21833/head
David Baker 2016-03-02 11:56:18 +00:00
parent 7ae2c5b11b
commit acb5f5d69b
1 changed files with 1 additions and 1 deletions

View File

@ -1308,7 +1308,7 @@ module.exports = React.createClass({
return (
<div className={ "mx_RoomView" + (inCall ? " mx_RoomView_inCall" : "") } ref="roomView">
<RoomHeader ref="header" room={this.state.room} searchInfo={searchInfo}
oobData={this.state.oobData}
oobData={this.props.oobData}
editing={this.state.editingRoomSettings}
onSearchClick={this.onSearchClick}
onSettingsClick={this.onSettingsClick}