diff --git a/web/chat/chat-message-list.react.js b/web/chat/chat-message-list.react.js --- a/web/chat/chat-message-list.react.js +++ b/web/chat/chat-message-list.react.js @@ -65,7 +65,6 @@ ) => Promise, // withInputState +inputState: ?InputState, - +setModal: (modal: ?React.Node) => void, }; type ReactDnDProps = { isActive: boolean, @@ -189,7 +188,7 @@ ); } - const { threadInfo, setModal } = this.props; + const { threadInfo } = this.props; invariant(threadInfo, 'ThreadInfo should be set if messageListData is'); return ( @@ -481,7 +479,6 @@ fetchMessagesBeforeCursor={callFetchMessagesBeforeCursor} {...dndProps} connectDropTarget={connectDropTarget} - setModal={modalContext.setModal} /> ); diff --git a/web/chat/message.react.js b/web/chat/message.react.js --- a/web/chat/message.react.js +++ b/web/chat/message.react.js @@ -24,7 +24,6 @@ messagePositionInfo: MessagePositionInfo, ) => void, +mouseOverMessagePosition: ?OnMessagePositionWithContainerInfo, - +setModal: (modal: ?React.Node) => void, +timeZone: ?string, }; function Message(props: Props): React.Node {