tell eslint to ignore viewAvatarOnClick being unused

pull/21833/head
Matthew Hodgson 2018-05-06 00:22:14 +01:00
parent 500f58a963
commit 8a1bd8da69
1 changed files with 1 additions and 0 deletions

View File

@ -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;