fix deeply irritating react warning about viewAvatarOnClick on BaseAvatar
parent
af5be5c36c
commit
500f58a963
|
@ -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…
Reference in New Issue