@@ -44,7 +44,6 @@ import * as ReportActionsUtils from '@libs/ReportActionsUtils';
4444import * as ReportUtils from '@libs/ReportUtils' ;
4545import playSound , { SOUNDS } from '@libs/Sound' ;
4646import Visibility from '@libs/Visibility' ;
47- import * as Device from '@userActions/Device' ;
4847import CONFIG from '@src/CONFIG' ;
4948import CONST from '@src/CONST' ;
5049import ONYXKEYS from '@src/ONYXKEYS' ;
@@ -62,6 +61,7 @@ import {isEmptyObject} from '@src/types/utils/EmptyObject';
6261import type PrefixedRecord from '@src/types/utils/PrefixedRecord' ;
6362import { reconnectApp } from './App' ;
6463import applyOnyxUpdatesReliably from './applyOnyxUpdatesReliably' ;
64+ import { getDeviceInfoWithID } from './Device' ;
6565import { openOldDotLink } from './Link' ;
6666import { showReportActionNotification } from './Report' ;
6767import { resendValidateCode as sessionResendValidateCode } from './Session' ;
@@ -189,7 +189,7 @@ function requestContactMethodValidateCode(contactMethod: string) {
189189 } ,
190190 ] ;
191191
192- Device . getDeviceInfoWithID ( ) . then ( ( deviceInfo ) => {
192+ getDeviceInfoWithID ( ) . then ( ( deviceInfo ) => {
193193 const parameters : RequestContactMethodValidateCodeParams = { email : contactMethod , deviceInfo} ;
194194 API . write ( WRITE_COMMANDS . REQUEST_CONTACT_METHOD_VALIDATE_CODE , parameters , { optimisticData, successData, failureData} ) ;
195195 } ) ;
0 commit comments