Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3259344
D12254.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
947 B
Referenced Files
None
Subscribers
None
D12254.diff
View Options
diff --git a/lib/shared/search-utils.js b/lib/shared/search-utils.js
--- a/lib/shared/search-utils.js
+++ b/lib/shared/search-utils.js
@@ -122,18 +122,18 @@
[inputParentThreadInfo],
);
- const containgThreadID = threadType
+ const containingThreadID = threadType
? getContainingThreadID(parentThreadInfo, threadType)
: null;
const containingThreadInfo = React.useMemo(() => {
- if (containgThreadID === parentThreadInfo?.id) {
+ if (containingThreadID === parentThreadInfo?.id) {
return parentThreadInfo;
- } else if (containgThreadID === communityThreadInfo?.id) {
+ } else if (containingThreadID === communityThreadInfo?.id) {
return communityThreadInfo;
}
return null;
- }, [containgThreadID, communityThreadInfo, parentThreadInfo]);
+ }, [containingThreadID, communityThreadInfo, parentThreadInfo]);
const filteredUserResults = React.useMemo(() => {
const results: {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 10:06 PM (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2505388
Default Alt Text
D12254.diff (947 B)
Attached To
Mode
D12254: [lib] Fix `containingThreadID` typo in `usePotentialMemberItems`
Attached
Detach File
Event Timeline
Log In to Comment