chore: autofocus text fields
This commit is contained in:
@@ -67,7 +67,6 @@ class RegisterFormBase extends Component {
|
|||||||
.doc(user.uid)
|
.doc(user.uid)
|
||||||
.set({
|
.set({
|
||||||
email: user.email,
|
email: user.email,
|
||||||
theme: "LIGHT",
|
|
||||||
})
|
})
|
||||||
this.props.history.push("/")
|
this.props.history.push("/")
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ class Search extends Component {
|
|||||||
<SearchLayout>
|
<SearchLayout>
|
||||||
<SearchGrid>
|
<SearchGrid>
|
||||||
<Input
|
<Input
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
value={searchInput}
|
value={searchInput}
|
||||||
onChange={e => this.onChange(e)}
|
onChange={e => this.onChange(e)}
|
||||||
type="text"
|
type="text"
|
||||||
|
|||||||
Reference in New Issue
Block a user