diff --git a/web/chat/thread-top-bar.react.js b/web/chat/thread-top-bar.react.js --- a/web/chat/thread-top-bar.react.js +++ b/web/chat/thread-top-bar.react.js @@ -4,6 +4,7 @@ import { threadIsPending } from 'lib/shared/thread-utils'; import type { ThreadInfo } from 'lib/types/thread-types'; +import { useResolvedThreadInfo } from 'lib/utils/entity-helpers'; import ThreadAncestors from './chat-thread-ancestors.react'; import ThreadMenu from './thread-menu.react'; @@ -26,6 +27,7 @@ threadMenu = ; } + const { uiName } = useResolvedThreadInfo(threadInfo); return (
@@ -33,7 +35,7 @@ className={css.threadColorSquare} style={threadBackgroundColorStyle} /> -

{threadInfo.uiName}

+

{uiName}

{threadMenu}