Page MenuHomePhabricator

D6612.diff
No OneTemporary

D6612.diff

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

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)

Event Timeline