From bbc2f2df9c846d074f07201fbf78a2cc36e0f48e Mon Sep 17 00:00:00 2001 From: Kevin Brian Bader Date: Thu, 26 Oct 2023 00:11:53 +0300 Subject: [PATCH] regression fix NavigationAwareCamera --- .../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;