From 526a21a3f84c161c2e0451c8bef4eb211a230d0a Mon Sep 17 00:00:00 2001
From: Jack Nam <30609178+thienlnam@users.noreply.github.com>
Date: Wed, 25 Oct 2023 16:39:57 -0700
Subject: [PATCH] Merge pull request #30397 from ikevin127/fix/30373
(cherry picked from commit 1ec799bd312c1a3e1facc2b0734ae90aec3a655e)
---
.../iou/ReceiptSelector/NavigationAwareCamera.js | 12 +-----------
.../ReceiptSelector/NavigationAwareCamera.native.js | 12 +-----------
2 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/src/pages/iou/ReceiptSelector/NavigationAwareCamera.js b/src/pages/iou/ReceiptSelector/NavigationAwareCamera.js
index 2b4ef44dfd8d..e9cb81003979 100644
--- a/src/pages/iou/ReceiptSelector/NavigationAwareCamera.js
+++ b/src/pages/iou/ReceiptSelector/NavigationAwareCamera.js
@@ -72,14 +72,4 @@ NavigationAwareCamera.propTypes = propTypes;
NavigationAwareCamera.displayName = 'NavigationAwareCamera';
NavigationAwareCamera.defaultProps = defaultProps;
-const NavigationAwareCameraWithRef = React.forwardRef((props, ref) => (
-
-));
-
-NavigationAwareCameraWithRef.displayName = 'NavigationAwareCameraWithRef';
-
-export default NavigationAwareCameraWithRef;
+export default NavigationAwareCamera;
diff --git a/src/pages/iou/ReceiptSelector/NavigationAwareCamera.native.js b/src/pages/iou/ReceiptSelector/NavigationAwareCamera.native.js
index 0569a8236140..69678622aae5 100644
--- a/src/pages/iou/ReceiptSelector/NavigationAwareCamera.native.js
+++ b/src/pages/iou/ReceiptSelector/NavigationAwareCamera.native.js
@@ -80,14 +80,4 @@ const NavigationAwareCamera = React.forwardRef(({cameraTabIndex, isInTabNavigato
NavigationAwareCamera.propTypes = propTypes;
NavigationAwareCamera.displayName = 'NavigationAwareCamera';
-const NavigationAwareCameraWithRef = React.forwardRef((props, ref) => (
-
-));
-
-NavigationAwareCameraWithRef.displayName = 'NavigationAwareCameraWithRef';
-
-export default NavigationAwareCameraWithRef;
+export default NavigationAwareCamera;