mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
This should be props, not state
This commit is contained in:
parent
7ae2c5b11b
commit
acb5f5d69b
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue