From 3c8d3a940092daf76b8ca804fbc34de112099d8d Mon Sep 17 00:00:00 2001 From: Pavlo Tsimura Date: Mon, 18 Sep 2023 18:25:49 +0200 Subject: [PATCH] Remove redundant useNetwork --- src/pages/iou/steps/MoneyRequestConfirmPage.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/iou/steps/MoneyRequestConfirmPage.js b/src/pages/iou/steps/MoneyRequestConfirmPage.js index 4f4a50ed2f7c..fedcec8adade 100644 --- a/src/pages/iou/steps/MoneyRequestConfirmPage.js +++ b/src/pages/iou/steps/MoneyRequestConfirmPage.js @@ -23,7 +23,6 @@ import reportPropTypes from '../../reportPropTypes'; import personalDetailsPropType from '../../personalDetailsPropType'; import * as FileUtils from '../../../libs/fileDownload/FileUtils'; import * as Policy from '../../../libs/actions/Policy'; -import useNetwork from '../../../hooks/useNetwork'; import useWindowDimensions from '../../../hooks/useWindowDimensions'; import * as StyleUtils from '../../../styles/StyleUtils'; import {iouPropTypes, iouDefaultProps} from '../propTypes'; @@ -60,7 +59,6 @@ const defaultProps = { }; function MoneyRequestConfirmPage(props) { - const {isOffline} = useNetwork(); const {windowHeight} = useWindowDimensions(); const prevMoneyRequestId = useRef(props.iou.id); const iouType = useRef(lodashGet(props.route, 'params.iouType', ''));