This should be props, not state

This commit is contained in:
David Baker 2016-03-02 11:56:18 +00:00
parent 7ae2c5b11b
commit acb5f5d69b

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}