Skip to content

Commit

Permalink
Turn autofocus on
Browse files Browse the repository at this point in the history
  • Loading branch information
genarorg committed Nov 11, 2016
1 parent 1cb16ee commit f4ff716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class App extends Component {
<header>
<h1>City Search!</h1>
</header>
<Search callback={this.onSearch.bind(this)} autoFocus={false} minChars={3}/>
<Search callback={this.onSearch.bind(this)} autoFocus={true} minChars={3}/>
<Results results={this.state.results} />
</div>
);
Expand Down

0 comments on commit f4ff716

Please sign in to comment.