summaryrefslogtreecommitdiffstats
path: root/webapp/components/youtube_video/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/youtube_video/index.js')
-rw-r--r--webapp/components/youtube_video/index.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/webapp/components/youtube_video/index.js b/webapp/components/youtube_video/index.js
deleted file mode 100644
index 592e52240..000000000
--- a/webapp/components/youtube_video/index.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import {connect} from 'react-redux';
-import {getCurrentChannelId} from 'mattermost-redux/selectors/entities/channels';
-
-import YoutubeVideo from './youtube_video.jsx';
-
-function mapStateToProps(state, ownProps) {
- return {
- ...ownProps,
- currentChannelId: getCurrentChannelId(state)
- };
-}
-
-export default connect(mapStateToProps)(YoutubeVideo);