Skip to content

Commit

Permalink
[native] Address feedback from D14017
Browse files Browse the repository at this point in the history
Summary: [My feedback](https://phab.comm.dev/D14017?id=46033#inline-78813) was not addressed.

Test Plan: I have not tested this. It's ultimately @angelika's responsibility to test her work, and it's unusual that a reviewer would be submitting a diff to address their own feedback

Reviewers: angelika, tomek

Reviewed By: angelika

Subscribers: angelika

Differential Revision: https://phab.comm.dev/D14068
  • Loading branch information
Ashoat committed Dec 2, 2024
1 parent 1c4a54a commit 84186ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/chat/chat-input-bar.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ function ConnectedChatInputBarBase({
React.useEffect(() => {
if (isActive && !prevIsActiveRef.current) {
addEditInputMessageListener();
} else if (!isActive && prevIsActiveRef) {
} else if (!isActive && prevIsActiveRef.current) {
removeEditInputMessageListener();
}
prevIsActiveRef.current = isActive;
Expand Down

1 comment on commit 84186ad

@angelika
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not the Angelika you are looking for.

Please sign in to comment.