From 2591354366a5d635647bc1ef242e6a966cead23a Mon Sep 17 00:00:00 2001 From: mkhutornyi Date: Mon, 11 Dec 2023 20:36:52 +0100 Subject: [PATCH] fix unable to scan receipt, the camera error display --- src/pages/iou/request/step/IOURequestStepScan/index.native.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/iou/request/step/IOURequestStepScan/index.native.js b/src/pages/iou/request/step/IOURequestStepScan/index.native.js index 28ebe822941d..cba808a36845 100644 --- a/src/pages/iou/request/step/IOURequestStepScan/index.native.js +++ b/src/pages/iou/request/step/IOURequestStepScan/index.native.js @@ -40,7 +40,7 @@ const defaultProps = { function IOURequestStepScan({ report, route: { - params: {iouType, reportID, transactionID, pageIndex, backTo}, + params: {iouType, reportID, transactionID, backTo}, }, }) { const theme = useTheme(); @@ -207,7 +207,7 @@ function IOURequestStepScan({ style={[styles.cameraView]} zoom={device.neutralZoom} photo - cameraTabIndex={pageIndex} + cameraTabIndex={1} /> )}