refactor phase 3a top-level pages targeted actions imports

This commit is contained in:
2026-03-12 09:49:40 +00:00
parent eebcfffd5e
commit c33cdf1b28
8 changed files with 74 additions and 57 deletions
+5 -5
View File
@@ -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
};
};