mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-23 01:48:13 +01:00
Migrate components to eslint
This commit is contained in:
committed by
Josh Perez
parent
de66486e41
commit
b13dbcfa77
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user