Page MenuHomePhabricator

D10654.id35688.diff
No OneTemporary

D10654.id35688.diff

diff --git a/lib/utils/drawer-utils.react.js b/lib/utils/drawer-utils.react.js
--- a/lib/utils/drawer-utils.react.js
+++ b/lib/utils/drawer-utils.react.js
@@ -26,7 +26,7 @@
function createRecursiveDrawerItemsData<LabelStyleType>(
childThreadInfosMap: {
- +[id: string]: $ReadOnlyArray<LegacyThreadInfo | ThreadInfo>,
+ +[id: string]: $ReadOnlyArray<ThreadInfo>,
},
communities: $ReadOnlyArray<ResolvedThreadInfo>,
labelStyles: $ReadOnlyArray<LabelStyleType>,
@@ -66,9 +66,9 @@
}
function threadHasSubchannels(
- threadInfo: LegacyThreadInfo | ThreadInfo,
+ threadInfo: ThreadInfo,
childThreadInfosMap: {
- +[id: string]: $ReadOnlyArray<LegacyThreadInfo | ThreadInfo>,
+ +[id: string]: $ReadOnlyArray<ThreadInfo>,
},
): boolean {
if (!childThreadInfosMap[threadInfo.id]?.length) {

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 4:21 AM (20 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2573882
Default Alt Text
D10654.id35688.diff (824 B)

Event Timeline