diff --git a/web/chat/chat-input-bar.react.js b/web/chat/chat-input-bar.react.js --- a/web/chat/chat-input-bar.react.js +++ b/web/chat/chat-input-bar.react.js @@ -34,6 +34,7 @@ useDispatchActionPromise, } from 'lib/utils/action-utils'; +import Button from '../components/button.react'; import { type InputState, type PendingMultimediaUpload, @@ -185,13 +186,13 @@ } joinButton = (
- +
); } @@ -414,8 +415,7 @@ } }; - onClickJoin = (event: SyntheticEvent) => { - event.preventDefault(); + onClickJoin = () => { this.props.dispatchActionPromise(joinThreadActionTypes, this.joinAction()); };