From e10692898d155183212494a0ae563f8859595e1f Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Wed, 11 Aug 2021 09:37:48 +0100 Subject: [PATCH] test client error removed mapstatetoprops --- pages/dns/application-view.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pages/dns/application-view.js b/pages/dns/application-view.js index 1853fc85..ebe5b884 100644 --- a/pages/dns/application-view.js +++ b/pages/dns/application-view.js @@ -63,19 +63,19 @@ const ApplicationView = (props) => { // } // ); -const mapStateToProps = (state) => { - return { - currentView: state.currentView, - search: state.search, - searchResultsObj: state.searchResultsObj, - formData: state.formData, - appealType: state.appealType, - form: state.form, - myCases: state.myCases, - watchedCases: state.watchedCases, - myRepresentations: state.myRepresentations, - awaitingSubmission: state.awaitingSubmission, - }; -}; +// const mapStateToProps = (state) => { +// return { +// currentView: state.currentView, +// search: state.search, +// searchResultsObj: state.searchResultsObj, +// formData: state.formData, +// appealType: state.appealType, +// form: state.form, +// myCases: state.myCases, +// watchedCases: state.watchedCases, +// myRepresentations: state.myRepresentations, +// awaitingSubmission: state.awaitingSubmission, +// }; +// }; -export default connect(mapStateToProps)(ApplicationView); +export default ApplicationView; //connect(mapStateToProps)(ApplicationView);