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;