revert application view
This commit is contained in:
@@ -39,12 +39,12 @@ const ApplicationView = (props) => {
|
|||||||
<Banner />
|
<Banner />
|
||||||
<Breadcrumbs slug={appealtypes} />
|
<Breadcrumbs slug={appealtypes} />
|
||||||
<main className="govuk-main-wrapper">
|
<main className="govuk-main-wrapper">
|
||||||
{/*<ApplicationSummary />
|
<ApplicationSummary />
|
||||||
<div className="govuk-grid-row">
|
<div className="govuk-grid-row">
|
||||||
<div className="govuk-grid-column-full">
|
<div className="govuk-grid-column-full">
|
||||||
<ApplicationTabs />
|
<ApplicationTabs />
|
||||||
</div>
|
</div>
|
||||||
</div> */}
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
<Footer footerLinks={footerLinks} />
|
<Footer footerLinks={footerLinks} />
|
||||||
@@ -53,29 +53,29 @@ const ApplicationView = (props) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// export const getServerSideProps = wrapper.getServerSideProps(
|
export const getServerSideProps = wrapper.getServerSideProps(
|
||||||
// (store) =>
|
(store) =>
|
||||||
// async ({ query, req, res }) => {
|
async ({ query, req, res }) => {
|
||||||
// console.log("query-", query);
|
console.log("query-", query);
|
||||||
// // const searchResultsObj = (await getBasicSearch(query.q)) || null;
|
// const searchResultsObj = (await getBasicSearch(query.q)) || null;
|
||||||
// // store.dispatch(setSearchResults(searchResultsObj));
|
// store.dispatch(setSearchResults(searchResultsObj));
|
||||||
// //store.dispatch(setSearch(query.q));
|
//store.dispatch(setSearch(query.q));
|
||||||
// }
|
}
|
||||||
// );
|
);
|
||||||
|
|
||||||
// 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 ApplicationView; //connect(mapStateToProps)(ApplicationView);
|
export default connect(mapStateToProps)(ApplicationView);
|
||||||
|
|||||||
Reference in New Issue
Block a user