aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/container
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-10 11:13:08 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-10 11:13:08 +0100
commit1286c6556115f80218a4828d29b288f56b3d795f (patch)
treeabd0a69172869c3dfbd8db945affc55503af4bf5 /src/client/react/components/container
parent7bd3b6766536e33146bb55506c79619a1ab7d3b3 (diff)
Rename onType to onInputChange
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));
},
});