diff options
Diffstat (limited to 'webapp/components/create_post.jsx')
-rw-r--r-- | webapp/components/create_post.jsx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx index 24ebd60b5..30af8dd30 100644 --- a/webapp/components/create_post.jsx +++ b/webapp/components/create_post.jsx @@ -546,17 +546,17 @@ export default class CreatePost extends React.Component { id='post_textbox' ref='textbox' /> - <FileUpload - ref='fileUpload' - getFileCount={this.getFileCount} - onClick={this.handleUploadClick} - onUploadStart={this.handleUploadStart} - onFileUpload={this.handleFileUploadComplete} - onUploadError={this.handleUploadError} - postType='post' - channelId='' - /> </div> + <FileUpload + ref='fileUpload' + getFileCount={this.getFileCount} + onClick={this.handleUploadClick} + onUploadStart={this.handleUploadStart} + onFileUpload={this.handleFileUploadComplete} + onUploadError={this.handleUploadError} + postType='post' + channelId='' + /> <a className='send-button theme' onClick={this.handleSubmit} |