summaryrefslogtreecommitdiff
path: root/client/faceSearch/faceSearch.container.js
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2018-12-17 01:39:39 +0100
committeradamhrv <adam@ahprojects.com>2018-12-17 01:39:39 +0100
commitc7e73f613fc5189c0adeda9fd693cb6aca3d4247 (patch)
treef4ee5eb0fd84d84780b2d31d48c5ab666ab63236 /client/faceSearch/faceSearch.container.js
parent88ec48e1c4d93ba9cd3aa186c068ef2aa4c27c56 (diff)
parent6a6af799c528e7d2c865db75757e90cd921f85ae (diff)
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'client/faceSearch/faceSearch.container.js')
-rw-r--r--client/faceSearch/faceSearch.container.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/client/faceSearch/faceSearch.container.js b/client/faceSearch/faceSearch.container.js
new file mode 100644
index 00000000..f96961db
--- /dev/null
+++ b/client/faceSearch/faceSearch.container.js
@@ -0,0 +1,24 @@
+import React, { Component } from 'react'
+import { bindActionCreators } from 'redux'
+import { connect } from 'react-redux'
+
+import * as actions from './faceSearch.actions'
+
+import FaceSearchQuery from './faceSearch.query'
+import FaceSearchResult from './faceSearch.result'
+
+class FaceSearchContainer extends Component {
+ render() {
+ const { payload } = this.props
+ console.log(payload)
+ return (
+ <div className='searchContainer'>
+ <FaceSearchQuery payload={payload} />
+ <FaceSearchResult payload={payload} />
+ </div>
+ )
+ }
+}
+
+
+export default FaceSearchContainer