diff --git a/pkg/interface/src/views/apps/chat/components/ChatInput.tsx b/pkg/interface/src/views/apps/chat/components/ChatInput.tsx index dab2c11697..2ad4cab26d 100644 --- a/pkg/interface/src/views/apps/chat/components/ChatInput.tsx +++ b/pkg/interface/src/views/apps/chat/components/ChatInput.tsx @@ -9,7 +9,7 @@ import GlobalApi from '~/logic/api/global'; import { Envelope } from '~/types/chat-update'; import { StorageState } from '~/types'; import { Contacts, Content } from '@urbit/api'; -import { Row, BaseImage, Box, Icon, LoadingSpinner } from '@tlon/indigo-react'; +import { Row, BaseImage, Box, Icon, LoadingSpinner, Text } from '@tlon/indigo-react'; import withStorage from '~/views/components/withStorage'; import { withLocalState } from '~/logic/state/local'; @@ -182,7 +182,15 @@ class ChatInput extends Component { onPaste={this.onPaste.bind(this)} placeholder='Message...' /> - + + + + {this.props.canUpload ? ( this.props.uploading ? ( @@ -199,13 +207,15 @@ class ChatInput extends Component { ) ) : null} - - + + console.log(this.chatEditor.current.submit())} + > + Send + );