refactor phase 3a top-level pages targeted actions imports
This commit is contained in:
@@ -2,7 +2,7 @@ import useTranslation from "next-translate/useTranslation";
|
||||
import Head from "next/head";
|
||||
import { useRouter } from "next/router";
|
||||
import { connect } from "react-redux";
|
||||
import { getAddressSearch } from "../actions";
|
||||
import { getAddressSearch } from "../actions/services/searchService";
|
||||
import SearchResults from "../components/addresssearchresults";
|
||||
import Breadcrumbs from "../components/breadcrumbs";
|
||||
import CookieBanner from "../components/cookieBanner";
|
||||
@@ -125,11 +125,11 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
props: {
|
||||
searchResultsObj: {
|
||||
searchResultsObj: searchResultsObj,
|
||||
searchDetailsObj: searchDetailsObj,
|
||||
searchDetailsObj: searchDetailsObj
|
||||
},
|
||||
currentType: "directResultsObj",
|
||||
showLoginCheck: showLoginCheck,
|
||||
},
|
||||
showLoginCheck: showLoginCheck
|
||||
}
|
||||
};
|
||||
}
|
||||
);
|
||||
@@ -145,7 +145,7 @@ const mapStateToProps = (state) => {
|
||||
myCases: state.myCases,
|
||||
watchedCases: state.watchedCases,
|
||||
myRepresentations: state.myRepresentations,
|
||||
awaitingSubmission: state.awaitingSubmission,
|
||||
awaitingSubmission: state.awaitingSubmission
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user