chore: autofocus text fields
This commit is contained in:
1 parent
8fe218f1ab
commit
daeaa9649d
2 files changed
+1
-2
No files matched your search
@@ -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