Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
locationPermissionGranted,
});
},
[

Check warning on line 299 in src/pages/iou/request/step/IOURequestStepScan/index.native.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

React Hook useCallback has a missing dependency: 'reportNameValuePairs?.private_isArchived'. Either include it or remove the dependency array
backTo,
backToReport,
shouldGenerateTransactionThreadReport,
Expand Down Expand Up @@ -394,7 +394,7 @@
return;
}

if (!isMultiScanEnabled) {
if (!isMultiScanEnabled && isStartingScan) {
removeDraftTransactions(true);
}

Expand Down Expand Up @@ -546,7 +546,7 @@
Log.warn('Error taking photo', error);
});
});
}, [

Check warning on line 549 in src/pages/iou/request/step/IOURequestStepScan/index.native.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

React Hook useCallback has a missing dependency: 'askForPermissions'. Either include it or remove the dependency array
cameraPermissionStatus,
didCapturePhoto,
isMultiScanEnabled,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepScan/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
locationPermissionGranted,
});
},
[

Check warning on line 352 in src/pages/iou/request/step/IOURequestStepScan/index.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

React Hook useCallback has a missing dependency: 'reportNameValuePairs?.private_isArchived'. Either include it or remove the dependency array
backTo,
backToReport,
shouldGenerateTransactionThreadReport,
Expand Down Expand Up @@ -408,7 +408,7 @@
return;
}

if (!isMultiScanEnabled) {
if (!isMultiScanEnabled && isStartingScan) {
removeDraftTransactions(true);
}

Expand Down
Loading