diff --git a/pages/dns/application-view.js b/pages/dns/application-view.js
index ebe5b884..867d29cd 100644
--- a/pages/dns/application-view.js
+++ b/pages/dns/application-view.js
@@ -39,12 +39,12 @@ const ApplicationView = (props) => {
- {/*
+
*/}
+
@@ -53,29 +53,29 @@ const ApplicationView = (props) => {
);
};
-// export const getServerSideProps = wrapper.getServerSideProps(
-// (store) =>
-// async ({ query, req, res }) => {
-// console.log("query-", query);
-// // const searchResultsObj = (await getBasicSearch(query.q)) || null;
-// // store.dispatch(setSearchResults(searchResultsObj));
-// //store.dispatch(setSearch(query.q));
-// }
-// );
+export const getServerSideProps = wrapper.getServerSideProps(
+ (store) =>
+ async ({ query, req, res }) => {
+ console.log("query-", query);
+ // const searchResultsObj = (await getBasicSearch(query.q)) || null;
+ // store.dispatch(setSearchResults(searchResultsObj));
+ //store.dispatch(setSearch(query.q));
+ }
+);
-// 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 ApplicationView; //connect(mapStateToProps)(ApplicationView);
+export default connect(mapStateToProps)(ApplicationView);