Page MenuHomePhorge

D10459.1765077937.diff
No OneTemporary

Size
1002 B
Referenced Files
None
Subscribers
None

D10459.1765077937.diff

diff --git a/lib/components/chat-mention-provider.react.js b/lib/components/chat-mention-provider.react.js
--- a/lib/components/chat-mention-provider.react.js
+++ b/lib/components/chat-mention-provider.react.js
@@ -71,9 +71,10 @@
);
}
-function getChatMentionCandidates(resolvedThreadInfos: {
- +[id: string]: ResolvedThreadInfo,
-}): {
+function getChatMentionCandidates(
+ threadInfos: { +[id: string]: ThreadInfo },
+ resolvedThreadInfos: { +[id: string]: ResolvedThreadInfo },
+): {
chatMentionCandidatesObj: ChatMentionCandidatesObj,
communityThreadIDForGenesisThreads: { +[id: string]: string },
} {
@@ -202,8 +203,8 @@
);
const { chatMentionCandidatesObj, communityThreadIDForGenesisThreads } =
React.useMemo(
- () => getChatMentionCandidates(resolvedThreadInfos),
- [resolvedThreadInfos],
+ () => getChatMentionCandidates(threadInfos, resolvedThreadInfos),
+ [threadInfos, resolvedThreadInfos],
);
return {
chatMentionCandidatesObj,

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 7, 3:25 AM (9 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5842261
Default Alt Text
D10459.1765077937.diff (1002 B)

Event Timeline