diff --git a/web/chat/message.react.js b/web/chat/message.react.js index 6a94f5342..65cb7be86 100644 --- a/web/chat/message.react.js +++ b/web/chat/message.react.js @@ -1,64 +1,80 @@ // @flow import invariant from 'invariant'; import * as React from 'react'; import { type ChatMessageInfoItem } from 'lib/selectors/chat-selectors.js'; import { messageTypes } from 'lib/types/message-types-enum.js'; import { type ThreadInfo } from 'lib/types/thread-types.js'; import { longAbsoluteDate } from 'lib/utils/date-utils.js'; import css from './chat-message-list.css'; +import { useEditModalContext } from './edit-message-provider.js'; +import { ComposedEditTextMessage } from './edit-text-message.react.js'; import MultimediaMessage from './multimedia-message.react.js'; import RobotextMessage from './robotext-message.react.js'; import TextMessage from './text-message.react.js'; type Props = { +item: ChatMessageInfoItem, +threadInfo: ThreadInfo, +shouldDisplayPinIndicator: boolean, }; function Message(props: Props): React.Node { const { item } = props; let conversationHeader = null; if (item.startsConversation) { conversationHeader = (