fix deeply irritating react warning about viewAvatarOnClick on BaseAvatar
This commit is contained in:
parent
af5be5c36c
commit
500f58a963
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ module.exports = React.createClass({
|
|||
render: function() {
|
||||
const BaseAvatar = sdk.getComponent("avatars.BaseAvatar");
|
||||
|
||||
const {room, oobData, ...otherProps} = this.props;
|
||||
const {room, oobData, viewAvatarOnClick, ...otherProps} = this.props;
|
||||
|
||||
const roomName = room ? room.name : oobData.name;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue