Page MenuHomePhabricator

D12254.diff
No OneTemporary

D12254.diff

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

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)

Event Timeline