diff --git a/web/chat/composed-message.react.js b/web/chat/composed-message.react.js --- a/web/chat/composed-message.react.js +++ b/web/chat/composed-message.react.js @@ -132,9 +132,6 @@ , +setMouseOverMessagePosition?: ( messagePositionInfo: MessagePositionInfo, ) => void, - +mouseOverMessagePosition?: OnMessagePositionWithContainerInfo, + +mouseOverMessagePosition: OnMessagePositionWithContainerInfo, +canReply?: boolean, +inputState?: ?InputState, }; @@ -50,7 +48,6 @@ const { threadInfo, item, - containerPosition, availableTooltipPositions, setMouseOverMessagePosition, mouseOverMessagePosition, @@ -58,6 +55,8 @@ inputState, } = props; + const { containerPosition } = mouseOverMessagePosition; + const [tooltipVisible, setTooltipVisible] = React.useState(false); const [pointingTo, setPointingTo] = React.useState(); diff --git a/web/chat/robotext-message.react.js b/web/chat/robotext-message.react.js --- a/web/chat/robotext-message.react.js +++ b/web/chat/robotext-message.react.js @@ -69,9 +69,7 @@ );