diff --git a/src/shared/components/app/app.tsx b/src/shared/components/app/app.tsx index c2238e4f..64d4b6b5 100644 --- a/src/shared/components/app/app.tsx +++ b/src/shared/components/app/app.tsx @@ -26,6 +26,10 @@ function handleAdultConsent(i: App) { i.setState({ showAdultConsentModal: false }); } +function handleAdultConsentGoBack(i: App) { + i.context.router.history.back(); +} + export class App extends Component { private isoData: IsoDataOptionalSite = setIsoData(this.context); private readonly mainContentRef: RefObject; @@ -81,6 +85,14 @@ export class App extends Component { )} + {siteRes?.site_view.site.content_warning && ( + + )}
{routes.map( @@ -140,14 +152,6 @@ export class App extends Component {