Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3498464
D6607.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
946 B
Referenced Files
None
Subscribers
None
D6607.diff
View Options
diff --git a/web/chat/sidebar-item.react.js b/web/chat/sidebar-item.react.js
--- a/web/chat/sidebar-item.react.js
+++ b/web/chat/sidebar-item.react.js
@@ -4,6 +4,7 @@
import * as React from 'react';
import type { SidebarInfo } from 'lib/types/thread-types';
+import { useResolvedThreadInfo } from 'lib/utils/entity-helpers';
import { useOnClickThread } from '../selectors/thread-selectors';
import css from './chat-thread-list.css';
@@ -38,14 +39,14 @@
<img src="images/arrow.svg" className={css.arrow} alt="thread arrow" />
);
}
-
+ const { uiName } = useResolvedThreadInfo(threadInfo);
return (
<>
{arrow}
<div className={css.spacer} />
<a className={css.threadButtonSidebar} onClick={onClick}>
<div className={css.threadRow}>
- <div className={unreadCls}>{threadInfo.uiName}</div>
+ <div className={unreadCls}>{uiName}</div>
</div>
</a>
</>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 9:16 PM (17 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2683147
Default Alt Text
D6607.diff (946 B)
Attached To
Mode
D6607: [web] Fetch ENS names in SidebarItem
Attached
Detach File
Event Timeline
Log In to Comment