aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/container
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/react/components/container')
-rw-r--r--src/client/react/components/container/Search.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/react/components/container/Search.js b/src/client/react/components/container/Search.js
index ddfb0a6..2489084 100644
--- a/src/client/react/components/container/Search.js
+++ b/src/client/react/components/container/Search.js
@@ -1,5 +1,5 @@
import { connect } from 'react-redux';
-import { type } from '../../actions/search';
+import { inputChange } from '../../actions/search';
import PresentationalSearch from '../presentational/Search';
const mapStateToProps = state => ({
@@ -8,8 +8,8 @@ const mapStateToProps = state => ({
});
const mapDispatchToProps = dispatch => ({
- onType: (event) => {
- dispatch(type(event.target.value));
+ onInputChange: (event) => {
+ dispatch(inputChange(event.target.value));
},
});