aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/container
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-10 19:24:53 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-10 19:24:53 +0100
commitddccdcf22bb5008022e93c4789311fb2da95d7cf (patch)
tree154a5398051e98e5bec149444cbbac84c9afc29f /src/client/react/components/container
parent088f0a2c1ca5d305d83ff001650cca729643c718 (diff)
Refactor state names
Diffstat (limited to 'src/client/react/components/container')
-rw-r--r--src/client/react/components/container/Search.js4
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,
});