Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanDylann committed Jan 4, 2024
1 parent 5a9fc7d commit aa45fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/IOUUtils.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import type {OnyxEntry} from 'react-native-onyx';
import type {ValueOf} from 'type-fest';
import * as IOU from '@userActions/IOU';

Check warning on line 3 in src/libs/IOUUtils.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected subpath import via alias '@userActions/IOU'. Use './actions/IOU' instead
import CONST from '@src/CONST';
import ROUTES from '@src/ROUTES';
import type {Report, Transaction} from '@src/types/onyx';
import * as CurrencyUtils from './CurrencyUtils';
import * as FileUtils from './fileDownload/FileUtils';
import Navigation from './Navigation/Navigation';
import * as TransactionUtils from './TransactionUtils';
import * as IOU from '@userActions/IOU';

function navigateToStartMoneyRequestStep(requestType: ValueOf<typeof CONST.IOU.REQUEST_TYPE>, iouType: ValueOf<typeof CONST.IOU.TYPE>, transactionID: string, reportID: string) {
// If the participants were automatically added to the transaction, then the user needs taken back to the starting step
Expand Down Expand Up @@ -40,7 +40,7 @@ function navigateToStartStepIfScanFileCannotBeRead(
}

const onFailure = () => {
IOU.setMoneyRequestReceipt_temporaryForRefactor(transactionID, '', '')
IOU.setMoneyRequestReceipt_temporaryForRefactor(transactionID, '', '');
if (requestType === CONST.IOU.REQUEST_TYPE.MANUAL) {
Navigation.navigate(ROUTES.MONEY_REQUEST_STEP_SCAN.getRoute(iouType, transactionID, reportID, Navigation.getActiveRouteWithoutParams()));
return;
Expand Down

0 comments on commit aa45fe6

Please sign in to comment.