Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33057578
D6614.1768430353.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6614.1768430353.diff
View Options
diff --git a/web/modals/threads/thread-picker-modal.react.js b/web/modals/threads/thread-picker-modal.react.js
--- a/web/modals/threads/thread-picker-modal.react.js
+++ b/web/modals/threads/thread-picker-modal.react.js
@@ -7,6 +7,7 @@
import { useGlobalThreadSearchIndex } from 'lib/selectors/nav-selectors';
import { onScreenEntryEditableThreadInfos } from 'lib/selectors/thread-selectors';
import type { ThreadInfo } from 'lib/types/thread-types';
+import { useResolvedThreadInfo } from 'lib/utils/entity-helpers';
import Button from '../../components/button.react';
import Search from '../../components/search.react';
@@ -35,6 +36,7 @@
[threadInfo.color],
);
+ const { uiName } = useResolvedThreadInfo(threadInfo);
return (
<div key={threadInfo.id} className={css.threadPickerOptionContainer}>
<Button
@@ -42,7 +44,7 @@
onClick={onClickThreadOption}
>
<div style={splotchColorStyle} className={css.threadSplotch} />
- <div className={css.threadNameText}>{threadInfo.uiName}</div>
+ <div className={css.threadNameText}>{uiName}</div>
</Button>
</div>
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 14, 10:39 PM (2 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5934399
Default Alt Text
D6614.1768430353.diff (1 KB)
Attached To
Mode
D6614: [web] Fetch ENS names in ThreadPickerModal
Attached
Detach File
Event Timeline
Log In to Comment