1
0
Fork 0

Fix scope binding

This commit is contained in:
Gregory Eremin 2017-11-05 14:13:27 +01:00
parent 9a7f3fd0cc
commit 85154ad4c8
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ export default class Nav extends Component {
<input className="search" type="search" placeholder="Search for commands"
value={this.props.query} onChange={this.props.onQueryChange} results="0" />
<ul>
{Object.keys(this.props.commands).map(this.renderItem)}
{Object.keys(this.props.commands).map(item => this.renderItem(item))}
</ul>
</nav>
)