diff --git a/src/components/BlockingViews/FullPageNotFoundView.js b/src/components/BlockingViews/FullPageNotFoundView.js index 9b9afdcd8b83..8a4447bb0cdc 100644 --- a/src/components/BlockingViews/FullPageNotFoundView.js +++ b/src/components/BlockingViews/FullPageNotFoundView.js @@ -1,9 +1,13 @@ import React from 'react'; import PropTypes from 'prop-types'; +import {View} from 'react-native'; import BlockingView from './BlockingView'; import * as Expensicons from '../Icon/Expensicons'; import withLocalize, {withLocalizePropTypes} from '../withLocalize'; +import HeaderWithCloseButton from '../HeaderWithCloseButton'; +import Navigation from '../../libs/Navigation/Navigation'; +import styles from '../../styles/styles'; const propTypes = { /** Props to fetch translation features */ @@ -24,11 +28,21 @@ const defaultProps = { const FullPageNotFoundView = (props) => { if (props.shouldShow) { return ( - + <> + Navigation.dismissModal()} + onCloseButtonPress={() => Navigation.dismissModal()} + /> + + + + + ); }