test client error removed mapstatetoprops

This commit is contained in:
2021-08-11 09:37:48 +01:00
parent 5204ba80d9
commit e10692898d
+15 -15
View File
@@ -63,19 +63,19 @@ const ApplicationView = (props) => {
// } // }
// ); // );
const mapStateToProps = (state) => { // const mapStateToProps = (state) => {
return { // return {
currentView: state.currentView, // currentView: state.currentView,
search: state.search, // search: state.search,
searchResultsObj: state.searchResultsObj, // searchResultsObj: state.searchResultsObj,
formData: state.formData, // formData: state.formData,
appealType: state.appealType, // appealType: state.appealType,
form: state.form, // form: state.form,
myCases: state.myCases, // myCases: state.myCases,
watchedCases: state.watchedCases, // watchedCases: state.watchedCases,
myRepresentations: state.myRepresentations, // myRepresentations: state.myRepresentations,
awaitingSubmission: state.awaitingSubmission, // awaitingSubmission: state.awaitingSubmission,
}; // };
}; // };
export default connect(mapStateToProps)(ApplicationView); export default ApplicationView; //connect(mapStateToProps)(ApplicationView);