Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3498116
D6612.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
890 B
Referenced Files
None
Subscribers
None
D6612.diff
View Options
diff --git a/web/modals/threads/create/compose-subchannel-modal.react.js b/web/modals/threads/create/compose-subchannel-modal.react.js
--- a/web/modals/threads/create/compose-subchannel-modal.react.js
+++ b/web/modals/threads/create/compose-subchannel-modal.react.js
@@ -10,6 +10,7 @@
useDispatchActionPromise,
useServerCall,
} from 'lib/utils/action-utils';
+import { useResolvedThreadInfo } from 'lib/utils/entity-helpers';
import { trimText } from 'lib/utils/text-utils';
import Stepper from '../../../components/stepper.react';
@@ -62,7 +63,7 @@
function ComposeSubchannelModal(props: Props): React.Node {
const { parentThreadInfo, onClose } = props;
- const { uiName: parentThreadName } = parentThreadInfo;
+ const { uiName: parentThreadName } = useResolvedThreadInfo(parentThreadInfo);
const [activeStep, setActiveStep] = React.useState<Steps>('settings');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 8:50 PM (17 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2682903
Default Alt Text
D6612.diff (890 B)
Attached To
Mode
D6612: [web] Fetch ENS names in ComposeSubchannelModal
Attached
Detach File
Event Timeline
Log In to Comment