From 4c61f05b9dc1968991c1f7959fcbf03be3c845c1 Mon Sep 17 00:00:00 2001 From: Tim Golen Date: Wed, 29 Nov 2023 11:39:26 -0700 Subject: [PATCH] Add missing hook dependency --- src/pages/iou/request/step/IOURequestStepScan/index.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/iou/request/step/IOURequestStepScan/index.native.js b/src/pages/iou/request/step/IOURequestStepScan/index.native.js index 7796715e38ea..28ebe822941d 100644 --- a/src/pages/iou/request/step/IOURequestStepScan/index.native.js +++ b/src/pages/iou/request/step/IOURequestStepScan/index.native.js @@ -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) {