diff --git a/native/components/thread-pill.react.js b/native/components/thread-pill.react.js index 653094f61..594533aeb 100644 --- a/native/components/thread-pill.react.js +++ b/native/components/thread-pill.react.js @@ -1,26 +1,28 @@ // @flow import * as React from 'react'; import type { ThreadInfo } from 'lib/types/thread-types'; +import { useResolvedThreadInfo } from 'lib/utils/entity-helpers'; import Pill from './pill.react'; type Props = { +threadInfo: ThreadInfo, +roundCorners?: { +left: boolean, +right: boolean }, +fontSize?: number, }; function ThreadPill(props: Props): React.Node { const { threadInfo, roundCorners, fontSize } = props; + const { uiName } = useResolvedThreadInfo(threadInfo); return ( ); } export default ThreadPill;