test client error removed mapstatetoprops
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user