Skip to content

Commit

Permalink
Merge pull request #30397 from ikevin127/fix/30373
Browse files Browse the repository at this point in the history
(cherry picked from commit 1ec799b)
  • Loading branch information
thienlnam authored and OSBotify committed Oct 25, 2023
1 parent 64113ea commit 526a21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
12 changes: 1 addition & 11 deletions src/pages/iou/ReceiptSelector/NavigationAwareCamera.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,4 @@ NavigationAwareCamera.propTypes = propTypes;
NavigationAwareCamera.displayName = 'NavigationAwareCamera';
NavigationAwareCamera.defaultProps = defaultProps;

const NavigationAwareCameraWithRef = React.forwardRef((props, ref) => (
<NavigationAwareCamera
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
forwardedRef={ref}
/>
));

NavigationAwareCameraWithRef.displayName = 'NavigationAwareCameraWithRef';

export default NavigationAwareCameraWithRef;
export default NavigationAwareCamera;
12 changes: 1 addition & 11 deletions src/pages/iou/ReceiptSelector/NavigationAwareCamera.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,4 @@ const NavigationAwareCamera = React.forwardRef(({cameraTabIndex, isInTabNavigato
NavigationAwareCamera.propTypes = propTypes;
NavigationAwareCamera.displayName = 'NavigationAwareCamera';

const NavigationAwareCameraWithRef = React.forwardRef((props, ref) => (
<NavigationAwareCamera
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
forwardedRef={ref}
/>
));

NavigationAwareCameraWithRef.displayName = 'NavigationAwareCameraWithRef';

export default NavigationAwareCameraWithRef;
export default NavigationAwareCamera;

0 comments on commit 526a21a

Please sign in to comment.