mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
eslint: comment out empty render() method
This commit is contained in:
parent
5c11a0fcba
commit
bc91824beb
1 changed files with 18 additions and 18 deletions
|
@ -4,7 +4,7 @@
|
|||
// Video Chat Hooks
|
||||
// ============================================================================
|
||||
|
||||
import {get, has} from 'utilities/object';
|
||||
import {get} from 'utilities/object';
|
||||
import {print_duration} from 'utilities/time';
|
||||
//import {ClickOutside} from 'utilities/dom';
|
||||
import {formatBitsConfig} from '../chat';
|
||||
|
@ -183,23 +183,23 @@ export default class VideoChatHook extends Module {
|
|||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
//if ( ! t.VideoChatMenu._class )
|
||||
return null;
|
||||
|
||||
/*return (<div class={`tw-flex-shrink-0 video-chat__message-menu${this.state.force ? ' video-chat__message-menu--force-visible' : ''}`}>
|
||||
<t.VideoChatMenu._class
|
||||
context={this.props.context}
|
||||
isCurrentUserModerator={this.props.isCurrentUserModerator}
|
||||
isExpandedLayout={this.props.isExpandedLayout}
|
||||
onBanUserClick={this.onBanUser}
|
||||
onClose={this.onClose}
|
||||
onDeleteCommentClick={this.onDeleteComment}
|
||||
onOpen={this.onOpen}
|
||||
onReplyClick={this.props.onReplyClick}
|
||||
/>
|
||||
</div>);*/
|
||||
}
|
||||
// render() {
|
||||
// //if ( ! t.VideoChatMenu._class )
|
||||
// return null;
|
||||
//
|
||||
// /*return (<div class={`tw-flex-shrink-0 video-chat__message-menu${this.state.force ? ' video-chat__message-menu--force-visible' : ''}`}>
|
||||
// <t.VideoChatMenu._class
|
||||
// context={this.props.context}
|
||||
// isCurrentUserModerator={this.props.isCurrentUserModerator}
|
||||
// isExpandedLayout={this.props.isExpandedLayout}
|
||||
// onBanUserClick={this.onBanUser}
|
||||
// onClose={this.onClose}
|
||||
// onDeleteCommentClick={this.onDeleteComment}
|
||||
// onOpen={this.onOpen}
|
||||
// onReplyClick={this.props.onReplyClick}
|
||||
// />
|
||||
// </div>);*/
|
||||
// }
|
||||
}
|
||||
|
||||
this.VideoChatLine.ready(cls => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue