show login boolean in redux store
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user