added in post data flow

This commit is contained in:
2021-07-05 08:29:38 +01:00
parent 7912f8a46a
commit aeaa1502c3
15 changed files with 19221 additions and 5547 deletions
+9 -1
View File
@@ -75,4 +75,12 @@ const Home = (props) => {
// };
// };
export default Home; //connect(mapStateToProps)(Home);
const mapStateToProps = (state) => {
console.log(state);
return {
search: state.search,
};
};
export default connect(mapStateToProps)(Home);