Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LeticiaErrandonea committed Feb 19, 2019
1 parent c384cf3 commit 6385530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NewList.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class NewList extends Component {
{ this.state.composing ?
<div className="NewList-adding-list">
<form onSubmit={this.handleSubmit}>
<input className="NewList-input" type="text" placeholder="Add a list…" autoFocus="true" value={this.state.newListName} onChange={this.newListNameChange}/>
<input className="NewList-input" type="text" placeholder="Add a list…" autoFocus={true} value={this.state.newListName} onChange={this.newListNameChange}/>
<div className="NewList-controls">
<input className="NewList-button" type="submit" value="Save"/>
<div className="NewList-close" onClick={this.toggleComposing}/>
Expand Down

0 comments on commit 6385530

Please sign in to comment.