Page MenuHomePhabricator

D11248.id37865.diff
No OneTemporary

D11248.id37865.diff

diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js
--- a/lib/shared/thread-utils.js
+++ b/lib/shared/thread-utils.js
@@ -1709,7 +1709,7 @@
});
return roleNamesToMemberCount;
- }, [threadInfo]);
+ }, [threadInfo.members, threadInfo.roles]);
}
function useRoleNamesToSpecialRole(threadInfo: ThreadInfo): {
@@ -1769,7 +1769,7 @@
});
return roleNamesToPermissions;
- }, [threadInfo]);
+ }, [threadInfo.roles]);
}
function communityOrThreadNoun(threadInfo: RawThreadInfo | ThreadInfo): string {

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 7:47 AM (8 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2701968
Default Alt Text
D11248.id37865.diff (545 B)

Event Timeline