Skip to content

Commit

Permalink
<Message>: avoid state change when cleaning up reaction root elements
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn-Signal committed Feb 28, 2022
1 parent 0260e61 commit 9b269cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts/components/conversation/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1894,7 +1894,7 @@ export class Message extends React.PureComponent<Props, State> {
};
}

return { reactionViewerRoot: null };
return null;
});
};

Expand Down Expand Up @@ -1925,7 +1925,7 @@ export class Message extends React.PureComponent<Props, State> {
};
}

return { reactionPickerRoot: null };
return null;
});
};

Expand Down

0 comments on commit 9b269cb

Please sign in to comment.