We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7a8b47 commit d8420cdCopy full SHA for d8420cd
src/App.js
@@ -16,7 +16,7 @@ const App = ({
16
query,
17
stories,
18
onSelectSubject,
19
- onChangeInput,
+ onChangeQuery,
20
}) => (
21
<div>
22
<h1>Hacker News with React and Rx.js</h1>
@@ -35,7 +35,7 @@ const App = ({
35
36
<input
37
type="text"
38
- onChange={event => onChangeInput(event.target.value)}
+ onChange={event => onChangeQuery(event.target.value)}
39
/>
40
41
<p>{`http://hn.algolia.com/api/v1/${subject}?query=${query}`}</p>
@@ -81,7 +81,7 @@ export default withObservableStream(
81
// handler
82
{
83
onSelectSubject: subject => subject$.next(subject),
84
- onChangeInput: value => query$.next(value),
+ onChangeQuery: value => query$.next(value),
85
},
86
// initial state
87
0 commit comments