chore: autofocus text fields

This commit is contained in:
Kyle Gill
2019-04-21 20:37:28 -06:00
parent 8fe218f1ab
commit daeaa9649d
2 changed files with 1 additions and 2 deletions

View File

@@ -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("/")
}) })

View File

@@ -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"