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) => {
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);