mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-07 21:26:13 +02:00
tell eslint to ignore viewAvatarOnClick being unused
This commit is contained in:
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…
x
Reference in New Issue
Block a user