Fix scope binding
This commit is contained in:
parent
9a7f3fd0cc
commit
85154ad4c8
|
@ -15,7 +15,7 @@ export default class Nav extends Component {
|
||||||
<input className="search" type="search" placeholder="Search for commands"
|
<input className="search" type="search" placeholder="Search for commands"
|
||||||
value={this.props.query} onChange={this.props.onQueryChange} results="0" />
|
value={this.props.query} onChange={this.props.onQueryChange} results="0" />
|
||||||
<ul>
|
<ul>
|
||||||
{Object.keys(this.props.commands).map(this.renderItem)}
|
{Object.keys(this.props.commands).map(item => this.renderItem(item))}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue