Skip to content

Commit

Permalink
Add missing hook dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tgolen committed Nov 29, 2023
1 parent 7a4c276 commit 4c61f05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function IOURequestStepScan({
showCameraAlert();
Log.warn('Error taking photo', error);
});
}, [flash, iouType, report, translate, transactionID, reportID]);
}, [flash, iouType, report, translate, transactionID, reportID, backTo]);

// Wait for camera permission status to render
if (cameraPermissionStatus == null) {
Expand Down

0 comments on commit 4c61f05

Please sign in to comment.