componentised timeout applied to logged in pages
This commit is contained in:
@@ -7,6 +7,7 @@ import Case from "../../components/case";
|
||||
import CookieBanner from "../../components/cookieBanner";
|
||||
import Footer from "../../components/footer";
|
||||
import Header from "../../components/header";
|
||||
import TimeOut from "../../components/timeout";
|
||||
|
||||
const Home = (props) => {
|
||||
const { footerLinks, pages, showRepresentations } = props;
|
||||
@@ -74,6 +75,7 @@ const Home = (props) => {
|
||||
</div>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
</div>
|
||||
<TimeOut ggLogout={props.govGateway.config.end_session_endpoint} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -92,6 +94,7 @@ const mapStateToProps = (state) => {
|
||||
watchedCases: state.watchedCases,
|
||||
myRepresentations: state.myRepresentations,
|
||||
awaitingSubmission: state.awaitingSubmission,
|
||||
govGateway: state.govGateway,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user