Move file sharing input inside form element
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user