mirror of https://github.com/vector-im/riot-web
tell eslint to ignore viewAvatarOnClick being unused
parent
500f58a963
commit
8a1bd8da69
|
@ -177,6 +177,7 @@ module.exports = React.createClass({
|
|||
render: function() {
|
||||
const BaseAvatar = sdk.getComponent("avatars.BaseAvatar");
|
||||
|
||||
/*eslint no-unused-vars: ["error", { "ignoreRestSiblings": true }]*/
|
||||
const {room, oobData, viewAvatarOnClick, ...otherProps} = this.props;
|
||||
|
||||
const roomName = room ? room.name : oobData.name;
|
||||
|
|
Loading…
Reference in New Issue