Merge pull request 'move onSearch prop to the proper tag; closes #1' (#2) from bugfix/1-fix-on-search-handler into master
Reviewed-on: #2
This commit is contained in:
commit
5e570ffa50
@ -56,8 +56,8 @@ class App extends React.Component {
|
|||||||
Ja<span className="highlight">mmm</span>ing
|
Ja<span className="highlight">mmm</span>ing
|
||||||
</h1>
|
</h1>
|
||||||
<div className="App">
|
<div className="App">
|
||||||
<SearchBar />
|
<SearchBar onSearch={this.search}/>
|
||||||
<div className="App-playlist" onSearch={this.search}>
|
<div className="App-playlist">
|
||||||
<SearchResults
|
<SearchResults
|
||||||
searchResults={this.state.searchResults}
|
searchResults={this.state.searchResults}
|
||||||
onAdd={this.addTrack}
|
onAdd={this.addTrack}
|
||||||
|
Loading…
Reference in New Issue
Block a user