build fix
This commit is contained in:
@@ -341,7 +341,14 @@ const DocumentDetails = (props) => {
|
||||
return Promise.all(historyArr);
|
||||
};
|
||||
const searchDocumentResultsObj = docDetailsObj();
|
||||
}, [incidentid, setDocumentHistory, setDocumentDetails, selectedOption]);
|
||||
}, [
|
||||
incidentid,
|
||||
setDocumentHistory,
|
||||
setDocumentDetails,
|
||||
selectedOption,
|
||||
fieldSortState,
|
||||
orderByState,
|
||||
]);
|
||||
|
||||
const getDocumentResults = (pageNumber, orderBy, fieldSort) => {
|
||||
getSearchDocumentDetailsPaged(
|
||||
|
||||
@@ -353,7 +353,7 @@ const DNSSearchResults = (props) => {
|
||||
} else {
|
||||
setSearchLoaded(true);
|
||||
}
|
||||
}, [selectedOption]);
|
||||
}, [selectedOption, fieldSortState, orderByState, searchLoaded]);
|
||||
return (
|
||||
<>
|
||||
<div className="govuk-grid-row">
|
||||
|
||||
@@ -597,7 +597,7 @@ const SearchResults = (props) => {
|
||||
} else {
|
||||
setSearchLoaded(true);
|
||||
}
|
||||
}, [selectedOption]);
|
||||
}, [selectedOption, fieldSortState, orderByState, searchLoaded]);
|
||||
// console.log(
|
||||
// "page is here ",
|
||||
// currentPage,
|
||||
|
||||
Reference in New Issue
Block a user