Skip to content

Commit

Permalink
Merge pull request #3558 from Expensify/luke-refactor-and-fix-popover…
Browse files Browse the repository at this point in the history
…-index

Refactor index files for Popover.
  • Loading branch information
HorusGoul authored Jun 15, 2021
2 parents 7a521b9 + 27592ac commit 6a1ca62
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
2 changes: 1 addition & 1 deletion src/components/Popover/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import withWindowDimensions from '../withWindowDimensions';
const Popover = props => (
<Modal
type={props.isSmallScreenWidth ? CONST.MODAL.MODAL_TYPE.BOTTOM_DOCKED : CONST.MODAL.MODAL_TYPE.POPOVER}
popoverAnchorPosition={props.anchorPosition}
popoverAnchorPosition={props.isSmallScreenWidth ? undefined : props.anchorPosition}
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
animationIn={props.isSmallScreenWidth ? undefined : props.animationIn}
Expand Down
23 changes: 0 additions & 23 deletions src/components/Popover/index.native.js

This file was deleted.

0 comments on commit 6a1ca62

Please sign in to comment.