Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3500888
D6609.id22094.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
778 B
Referenced Files
None
Subscribers
None
D6609.id22094.diff
View Options
diff --git a/web/modals/chat/sidebar-promote-modal.react.js b/web/modals/chat/sidebar-promote-modal.react.js
--- a/web/modals/chat/sidebar-promote-modal.react.js
+++ b/web/modals/chat/sidebar-promote-modal.react.js
@@ -3,6 +3,7 @@
import * as React from 'react';
import type { ThreadInfo } from 'lib/types/thread-types';
+import { useResolvedThreadInfo } from 'lib/utils/entity-helpers';
import Button from '../../components/button.react';
import Modal from '../modal.react';
@@ -16,7 +17,7 @@
function SidebarPromoteModal(props: Props): React.Node {
const { threadInfo, onClose, onConfirm } = props;
- const { uiName } = threadInfo;
+ const { uiName } = useResolvedThreadInfo(threadInfo);
const handleConfirm = React.useCallback(() => {
onConfirm();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 3:07 AM (17 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2683252
Default Alt Text
D6609.id22094.diff (778 B)
Attached To
Mode
D6609: [web] Fetch ENS names in SidebarPromoteModal
Attached
Detach File
Event Timeline
Log In to Comment