show login boolean in redux store

This commit is contained in:
2023-02-15 08:34:04 +00:00
parent 316e66a96f
commit fc5217daf8
6 changed files with 65 additions and 51 deletions
+3 -1
View File
@@ -90,9 +90,11 @@ export const getServerSideProps = wrapper.getServerSideProps(
]);
const showReps = process.env.SHOWREPRESENTATIONS || false;
const showLoginCheck = process.env.SHOWLOGIN || false;
store.dispatch(setShowReps(showReps, showLoginCheck));
console.log("env var ", process.env.SHOWREPRESENTATIONS);
store.dispatch(setShowReps(showReps));
store.dispatch(setShowReps(showReps, showLoginCheck));
searchResultsObj =
searchResultsObj.status == 502