test client remove getserversideprops
This commit is contained in:
@@ -39,8 +39,8 @@ 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>
|
||||||
@@ -53,15 +53,15 @@ 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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user