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 @@ -159,12 +159,12 @@ let inlineSidebar = null; if (item.threadCreatedFromMessage) { - const positioning = isViewer ? 'right' : 'left'; + const position = isViewer ? 'right' : 'left'; inlineSidebar = ( <div className={css.sidebarMarginBottom}> <InlineSidebar threadInfo={item.threadCreatedFromMessage} - positioning={positioning} + position={position} /> </div> ); diff --git a/web/chat/inline-sidebar.react.js b/web/chat/inline-sidebar.react.js --- a/web/chat/inline-sidebar.react.js +++ b/web/chat/inline-sidebar.react.js @@ -11,7 +11,7 @@ type Props = { +threadInfo: ThreadInfo, - +positioning: 'left' | 'center' | 'right', + +position: 'left' | 'center' | 'right', }; function InlineSidebar(props: Props): React.Node { const { threadInfo } = props; 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 @@ -51,7 +51,7 @@ <div className={css.sidebarMarginTop}> <InlineSidebar threadInfo={this.props.item.threadCreatedFromMessage} - positioning="center" + position="center" /> </div> );