componentised timeout applied to logged in pages

This commit is contained in:
2022-01-26 10:38:21 +00:00
parent 28586675d3
commit 2f91be126c
12 changed files with 175 additions and 46 deletions
+3
View File
@@ -7,6 +7,7 @@ import CookieBanner from "../../components/cookieBanner";
import Footer from "../../components/footer";
import Header from "../../components/header";
import ViewAll from "../../components/myportal/viewall";
import TimeOut from "../../components/timeout";
const Home = (props) => {
const { footerLinks, pages } = props;
@@ -44,6 +45,7 @@ const Home = (props) => {
</div>
<Footer footerLinks={footerLinks} />
</div>
<TimeOut ggLogout={props.govGateway.config.end_session_endpoint} />
</div>
);
};
@@ -70,6 +72,7 @@ const mapStateToProps = (state) => {
myRepresentations: state.myRepresentations,
awaitingSubmission: state.awaitingSubmission,
currentView: state.currentView,
govGateway: state.govGateway,
};
};