summaryrefslogtreecommitdiffstats
path: root/webapp/components/sidebar_right/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/sidebar_right/index.js')
-rw-r--r--webapp/components/sidebar_right/index.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/webapp/components/sidebar_right/index.js b/webapp/components/sidebar_right/index.js
deleted file mode 100644
index 126ffc776..000000000
--- a/webapp/components/sidebar_right/index.js
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import {connect} from 'react-redux';
-import SidebarRight from './sidebar_right.jsx';
-
-function mapStateToProps(state, ownProps) {
- return {
- ...ownProps,
- postRightVisible: Boolean(state.views.rhs.selectedPostId),
- fromSearch: state.views.rhs.fromSearch,
- fromFlaggedPosts: state.views.rhs.fromFlaggedPosts,
- fromPinnedPosts: state.views.rhs.fromPinnedPosts
- };
-}
-
-export default connect(mapStateToProps)(SidebarRight);