Migrate conversations to ESLint
This commit is contained in:
parent
b4f0f3c685
commit
372aa44e49
90 changed files with 1261 additions and 1165 deletions
|
@ -19,7 +19,7 @@ export interface Props {
|
|||
}
|
||||
|
||||
export class TypingBubble extends React.PureComponent<Props> {
|
||||
public renderAvatar() {
|
||||
public renderAvatar(): JSX.Element | null {
|
||||
const {
|
||||
avatarPath,
|
||||
color,
|
||||
|
@ -32,7 +32,7 @@ export class TypingBubble extends React.PureComponent<Props> {
|
|||
} = this.props;
|
||||
|
||||
if (conversationType !== 'group') {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
|
@ -52,7 +52,7 @@ export class TypingBubble extends React.PureComponent<Props> {
|
|||
);
|
||||
}
|
||||
|
||||
public render() {
|
||||
public render(): JSX.Element {
|
||||
const { i18n, color, conversationType } = this.props;
|
||||
const isGroup = conversationType === 'group';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue