Migrate components to eslint

This commit is contained in:
Chris Svenningsen 2020-09-11 17:46:52 -07:00 committed by Josh Perez
parent de66486e41
commit b13dbcfa77
69 changed files with 875 additions and 800 deletions

View file

@ -11,11 +11,15 @@ export interface Props {
}
export class StartNewConversation extends React.PureComponent<Props> {
public render() {
public render(): JSX.Element {
const { phoneNumber, i18n, onClick } = this.props;
return (
<button className="module-start-new-conversation" onClick={onClick}>
<button
type="button"
className="module-start-new-conversation"
onClick={onClick}
>
<Avatar
color="grey"
conversationType="direct"