test client remove getserversideprops

This commit is contained in:
2021-08-11 09:34:18 +01:00
parent ef16ce0a32
commit 5204ba80d9
+11 -11
View File
@@ -39,8 +39,8 @@ const ApplicationView = (props) => {
<Banner />
<Breadcrumbs slug={appealtypes} />
<main className="govuk-main-wrapper">
<ApplicationSummary />
{/* <div className="govuk-grid-row">
{/*<ApplicationSummary />
<div className="govuk-grid-row">
<div className="govuk-grid-column-full">
<ApplicationTabs />
</div>
@@ -53,15 +53,15 @@ 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 {