Skip to content

Commit

Permalink
fix: regression of 26178
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Sep 19, 2023
1 parent 57a7da5 commit d1192a5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@ function PopoverReactionList(props) {
const showReactionList = (event, reactionListAnchor, emojiName, reportActionID) => {
setReactionListReportActionID(reportActionID);
setReactionListEmojiName(emojiName);
if (!innerReactionListRef.current || !innerReactionListRef.current.hideReactionList) {
return;
}
innerReactionListRef.current.showReactionList(event, reactionListAnchor);
};

const hideReactionList = () => {
if (!innerReactionListRef.current || !innerReactionListRef.current.hideReactionList) {
return;
}
innerReactionListRef.current.hideReactionList();
};

Expand Down

0 comments on commit d1192a5

Please sign in to comment.