Move file sharing input inside form element

This commit is contained in:
Torjus
2018-07-27 12:14:02 +02:00
parent 24f51cab8d
commit 97a112ed12
+2 -2
View File
@@ -23,12 +23,12 @@ class Chat extends Component
<div data-component='Chat'> <div data-component='Chat'>
<MessageList /> <MessageList />
<FileSharing />
<form <form
data-component='Sender' data-component='Sender'
onSubmit={(e) => { onSendMessage(e, displayName, picture); }} onSubmit={(e) => { onSendMessage(e, displayName, picture); }}
> >
<FileSharing />
<input <input
type='text' type='text'
className='new-message' className='new-message'