Skip to content

Commit

Permalink
Merge pull request #6201 from Expensify/joe-fix-menu-crash
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham authored Nov 4, 2021
2 parents 0c43cf7 + 6263d45 commit 9b9f694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PopoverMenu/BasePopoverMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class BasePopoverMenu extends PureComponent {
animationOut={this.props.animationOut}
>
<View style={this.props.isSmallScreenWidth ? {} : styles.createMenuContainer}>
{this.props.headerText && (
{!_.isEmpty(this.props.headerText) && (
<View style={styles.createMenuItem}>
<Text
style={[styles.createMenuHeaderText, styles.ml3]}
Expand Down

0 comments on commit 9b9f694

Please sign in to comment.