diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-12-10 19:24:53 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-12-10 19:24:53 +0100 |
commit | ddccdcf22bb5008022e93c4789311fb2da95d7cf (patch) | |
tree | 154a5398051e98e5bec149444cbbac84c9afc29f /src/client/react/components | |
parent | 088f0a2c1ca5d305d83ff001650cca729643c718 (diff) |
Refactor state names
Diffstat (limited to 'src/client/react/components')
-rw-r--r-- | src/client/react/components/container/Search.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/react/components/container/Search.js b/src/client/react/components/container/Search.js index 70b3685..f17a517 100644 --- a/src/client/react/components/container/Search.js +++ b/src/client/react/components/container/Search.js @@ -3,8 +3,8 @@ import { inputChange, focusChange } from '../../actions/search'; import PresentationalSearch from '../presentational/Search'; const mapStateToProps = state => ({ - results: state.search.searchResults, - value: state.search.searchInput, + results: state.search.results, + value: state.search.input, hasFocus: state.search.hasFocus, exactMatch: state.search.exactMatch, }); |