diff --git a/src/pages/ErrorPage/GenericErrorPage.js b/src/pages/ErrorPage/GenericErrorPage.js index b407e094626..cf267b37e6b 100644 --- a/src/pages/ErrorPage/GenericErrorPage.js +++ b/src/pages/ErrorPage/GenericErrorPage.js @@ -14,6 +14,8 @@ import styles from '../../styles/styles'; import ErrorBodyText from './ErrorBodyText'; import TextLink from '../../components/TextLink'; import CONST from '../../CONST'; +import SafeAreaConsumer from '../../components/SafeAreaConsumer'; +import * as StyleUtils from '../../styles/StyleUtils'; const propTypes = { ...withLocalizePropTypes, @@ -23,58 +25,62 @@ const propTypes = { }; const GenericErrorPage = props => ( - - - - - - - - - {props.translate('genericErrorPage.title')} - - - - - - {`${props.translate('genericErrorPage.body.helpTextConcierge')} `} - - {CONST.EMAIL.CONCIERGE} - - + + {({paddingBottom}) => ( + + + + + + + + + {props.translate('genericErrorPage.title')} + + + + + + {`${props.translate('genericErrorPage.body.helpTextConcierge')} `} + + {CONST.EMAIL.CONCIERGE} + + + + + +