File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
app/javascript/mastodon/features/circles/components Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,6 @@ class NewCircleForm extends React.PureComponent {
32
32
onSubmit : PropTypes . func . isRequired ,
33
33
} ;
34
34
35
- componentDidMount ( ) {
36
- this . input . focus ( ) ;
37
- }
38
-
39
35
handleChange = e => {
40
36
this . props . onChange ( e . target . value ) ;
41
37
}
@@ -49,10 +45,6 @@ class NewCircleForm extends React.PureComponent {
49
45
this . props . onSubmit ( ) ;
50
46
}
51
47
52
- setRef = ( c ) => {
53
- this . input = c ;
54
- }
55
-
56
48
render ( ) {
57
49
const { value, disabled, intl } = this . props ;
58
50
@@ -70,7 +62,6 @@ class NewCircleForm extends React.PureComponent {
70
62
disabled = { disabled }
71
63
onChange = { this . handleChange }
72
64
placeholder = { label }
73
- ref = { this . setRef }
74
65
/>
75
66
</ label >
76
67
You can’t perform that action at this time.
0 commit comments