diff --git a/src/components/IllustratedHeaderPageLayout.js b/src/components/IllustratedHeaderPageLayout.js index 7fc340426d69..d1403bd4029e 100644 --- a/src/components/IllustratedHeaderPageLayout.js +++ b/src/components/IllustratedHeaderPageLayout.js @@ -11,6 +11,7 @@ import themeColors from '../styles/themes/default'; import * as StyleUtils from '../styles/StyleUtils'; import useWindowDimensions from '../hooks/useWindowDimensions'; import FixedFooter from './FixedFooter'; +import useNetwork from '../hooks/useNetwork'; const propTypes = { ...headerWithBackButtonPropTypes, @@ -35,6 +36,7 @@ const defaultProps = { function IllustratedHeaderPageLayout({backgroundColor, children, illustration, footer, ...propsToPassToHeader}) { const {windowHeight} = useWindowDimensions(); + const {isOffline} = useNetwork(); return ( - +