From 5204ba80d992cf1e556d32c569246e9885b77b36 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Wed, 11 Aug 2021 09:34:18 +0100 Subject: [PATCH] test client remove getserversideprops --- pages/dns/application-view.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pages/dns/application-view.js b/pages/dns/application-view.js index d68dcc7e..1853fc85 100644 --- a/pages/dns/application-view.js +++ b/pages/dns/application-view.js @@ -39,8 +39,8 @@ const ApplicationView = (props) => {
- - {/*
+ {/* +
@@ -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 {