// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import {connect} from 'react-redux';

import {handleRemoveFile, retryFileUpload, uploadComplete, uploadFailed} from 'app/actions/views/file_upload';

import UploadItem from './upload_item';

const mapDispatchToProps = {
    handleRemoveFile,
    retryFileUpload,
    uploadComplete,
    uploadFailed,
};

export default connect(null, mapDispatchToProps)(UploadItem);
