Skip to content

Commit

Permalink
return early
Browse files Browse the repository at this point in the history
  • Loading branch information
stitesExpensify committed Jul 26, 2023
1 parent fa8b0b1 commit 6c7e3d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Reactions/ReportActionItemEmojiReactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ function ReportActionItemEmojiReactions(props) {
style={[styles.flexRow, styles.flexWrap, styles.gap1, styles.mt2]}
>
{_.map(formattedReactions, (reaction) => {
if (reaction !== null) {
if (reaction === null) {
return;
}
return (
<Tooltip
renderTooltipContent={() => (
Expand All @@ -140,7 +142,6 @@ function ReportActionItemEmojiReactions(props) {
</View>
</Tooltip>
);
}
})}
<AddReactionBubble
onSelectEmoji={props.toggleReaction}
Expand Down

0 comments on commit 6c7e3d1

Please sign in to comment.