Skip to content

Commit c833fc5

Browse files
committed
ts
1 parent 5c837e6 commit c833fc5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/pages/iou/request/step/IOURequestStepDistanceGPS/index.native.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import useOnyx from '@hooks/useOnyx';
99
import usePermissions from '@hooks/usePermissions';
1010
import usePersonalPolicy from '@hooks/usePersonalPolicy';
1111
import usePolicy from '@hooks/usePolicy';
12+
import useSelfDMReport from '@hooks/useSelfDMReport';
1213
import useShowNotFoundPageInIOUStep from '@hooks/useShowNotFoundPageInIOUStep';
1314
import useThemeStyles from '@hooks/useThemeStyles';
1415
import {setGPSTransactionDraftData} from '@libs/actions/IOU';
@@ -53,6 +54,7 @@ function IOURequestStepDistanceGPS({
5354
const [quickAction] = useOnyx(ONYXKEYS.NVP_QUICK_ACTION_GLOBAL_CREATE, {canBeMissing: true});
5455
const [policyRecentlyUsedCurrencies] = useOnyx(ONYXKEYS.RECENTLY_USED_CURRENCIES, {canBeMissing: true});
5556
const [transactionViolations] = useOnyx(ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS, {canBeMissing: true});
57+
const selfDMReport = useSelfDMReport();
5658

5759
const isEditing = action === CONST.IOU.ACTION.EDIT;
5860
const isCreatingNewRequest = !isEditing;
@@ -113,6 +115,7 @@ function IOURequestStepDistanceGPS({
113115
privateIsArchived: reportNameValuePairs?.private_isArchived,
114116
gpsCoordinates,
115117
gpsDistance: distance,
118+
selfDMReport,
116119
});
117120
};
118121

0 commit comments

Comments
 (0)