diff options
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 |
