Skip to content

Commit

Permalink
Remove redundant useNetwork
Browse files Browse the repository at this point in the history
  • Loading branch information
paultsimura committed Sep 18, 2023
1 parent 9442b59 commit 3c8d3a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pages/iou/steps/MoneyRequestConfirmPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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', ''));
Expand Down

0 comments on commit 3c8d3a9

Please sign in to comment.