updated watch case logic for summary page

This commit is contained in:
2023-03-24 12:09:35 +00:00
parent 091e23c820
commit 53914bfe80
7 changed files with 253 additions and 76 deletions
+1
View File
@@ -91,6 +91,7 @@ const mapStateToProps = (state) => {
watchedCases: state.watchedCases,
myRepresentations: state.myRepresentations,
awaitingSubmission: state.awaitingSubmission,
accountDetails: state.accountDetails,
};
};
+1 -1
View File
@@ -111,7 +111,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
const watchedCases = await getWatchedCases(loggedInUser);
//console.log("sssss", loggedInUser);
console.log("sssss", loggedInUser);
const [accountDetails, searchDetailsObj, watchedCasesDetails] =
await Promise.all([