Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33320472
D6611.1768843088.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
789 B
Referenced Files
None
Subscribers
None
D6611.1768843088.diff
View Options
diff --git a/web/modals/threads/confirm-leave-thread-modal.react.js b/web/modals/threads/confirm-leave-thread-modal.react.js
--- a/web/modals/threads/confirm-leave-thread-modal.react.js
+++ b/web/modals/threads/confirm-leave-thread-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, { buttonThemes } from '../../components/button.react';
import Modal from '../modal.react';
@@ -15,7 +16,7 @@
};
function ConfirmLeaveThreadModal(props: Props): React.Node {
const { threadInfo, onClose, onConfirm } = props;
- const { uiName } = threadInfo;
+ const { uiName } = useResolvedThreadInfo(threadInfo);
return (
<Modal
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 5:18 PM (3 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5955479
Default Alt Text
D6611.1768843088.diff (789 B)
Attached To
Mode
D6611: [web] Fetch ENS names in ConfirmLeaveThreadModal
Attached
Detach File
Event Timeline
Log In to Comment