Migrate conversations to ESLint
This commit is contained in:
parent
b4f0f3c685
commit
372aa44e49
90 changed files with 1261 additions and 1165 deletions
|
@ -124,7 +124,7 @@ export type PropsType = PropsLocalType &
|
|||
Pick<AllMessageProps, 'renderEmojiPicker'>;
|
||||
|
||||
export class TimelineItem extends React.PureComponent<PropsType> {
|
||||
public render() {
|
||||
public render(): JSX.Element | null {
|
||||
const {
|
||||
conversationId,
|
||||
id,
|
||||
|
@ -136,8 +136,7 @@ export class TimelineItem extends React.PureComponent<PropsType> {
|
|||
} = this.props;
|
||||
|
||||
if (!item) {
|
||||
// tslint:disable-next-line:no-console
|
||||
console.warn(`TimelineItem: item ${id} provided was falsey`);
|
||||
window.log.warn(`TimelineItem: item ${id} provided was falsey`);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue