move onSearch prop to the proper tag; closes #1
This commit is contained in:
parent
e6f9a79d4b
commit
f5dc179b1b
@ -56,8 +56,8 @@ class App extends React.Component {
|
||||
Ja<span className="highlight">mmm</span>ing
|
||||
</h1>
|
||||
<div className="App">
|
||||
<SearchBar />
|
||||
<div className="App-playlist" onSearch={this.search}>
|
||||
<SearchBar onSearch={this.search}/>
|
||||
<div className="App-playlist">
|
||||
<SearchResults
|
||||
searchResults={this.state.searchResults}
|
||||
onAdd={this.addTrack}
|
||||
|
Loading…
Reference in New Issue
Block a user