Page MenuHomePhabricator

D14068.id46167.diff
No OneTemporary

D14068.id46167.diff

diff --git a/native/chat/chat-input-bar.react.js b/native/chat/chat-input-bar.react.js
--- a/native/chat/chat-input-bar.react.js
+++ b/native/chat/chat-input-bar.react.js
@@ -930,7 +930,7 @@
React.useEffect(() => {
if (isActive && !prevIsActiveRef.current) {
addEditInputMessageListener();
- } else if (!isActive && prevIsActiveRef) {
+ } else if (!isActive && prevIsActiveRef.current) {
removeEditInputMessageListener();
}
prevIsActiveRef.current = isActive;

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 11, 4:32 AM (1 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2639189
Default Alt Text
D14068.id46167.diff (499 B)

Event Timeline