mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
This should be props, not state
This commit is contained in:
parent
7ae2c5b11b
commit
acb5f5d69b
@ -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 New Issue
Block a user