diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-16 20:30:25 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-16 20:30:25 +0100 |
| commit | f9e4b621c9daf66a599c28481b3bf59926144461 (patch) | |
| tree | dd65d91ccc5a7e29513bbf91766a40bd29133e24 /client/faceSearch/faceSearch.container.js | |
| parent | 19f449da683c4a629a40bc6d420e94a25a30a7f6 (diff) | |
query html
Diffstat (limited to 'client/faceSearch/faceSearch.container.js')
| -rw-r--r-- | client/faceSearch/faceSearch.container.js | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/client/faceSearch/faceSearch.container.js b/client/faceSearch/faceSearch.container.js index e5fae24b..f96961db 100644 --- a/client/faceSearch/faceSearch.container.js +++ b/client/faceSearch/faceSearch.container.js @@ -9,23 +9,16 @@ import FaceSearchResult from './faceSearch.result' class FaceSearchContainer extends Component { render() { + const { payload } = this.props + console.log(payload) return ( <div className='searchContainer'> - <FaceSearchQuery /> - <FaceSearchResult /> + <FaceSearchQuery payload={payload} /> + <FaceSearchResult payload={payload} /> </div> ) } } -const mapStateToProps = state => ({ - query: state.faceSearch.query, - result: state.faceSearch.result, - options: state.faceSearch.options, -}) -const mapDispatchToProps = dispatch => ({ - actions: bindActionCreators({ ...actions }, dispatch), -}) - -export default connect(mapStateToProps, mapDispatchToProps)(FaceSearchContainer) +export default FaceSearchContainer |
