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
Wed, Dec 25, 11:36 AM (3 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2702600
Default Alt Text
D10654.id35688.diff (824 B)

Event Timeline