From d8bd57901e33a7057e26e782e295099ffcc0da89 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Wed, 6 Sep 2017 23:04:13 -0700
Subject: Removing webapp

---
 webapp/components/status_dropdown/index.jsx | 33 -----------------------------
 1 file changed, 33 deletions(-)
 delete mode 100644 webapp/components/status_dropdown/index.jsx

(limited to 'webapp/components/status_dropdown/index.jsx')

diff --git a/webapp/components/status_dropdown/index.jsx b/webapp/components/status_dropdown/index.jsx
deleted file mode 100644
index e200b2e34..000000000
--- a/webapp/components/status_dropdown/index.jsx
+++ /dev/null
@@ -1,33 +0,0 @@
-import {setStatus} from 'mattermost-redux/actions/users';
-import {connect} from 'react-redux';
-import {bindActionCreators} from 'redux';
-import {
-    getCurrentUser,
-    getStatusForUserId
-} from 'mattermost-redux/selectors/entities/users';
-import {Client4} from 'mattermost-redux/client';
-
-import StatusDropdown from 'components/status_dropdown/status_dropdown.jsx';
-
-function mapStateToProps(state) {
-    const currentUser = getCurrentUser(state);
-    const userId = currentUser.id;
-    const lastPicUpdate = currentUser.last_picture_update;
-    const profilePicture = Client4.getProfilePictureUrl(userId, lastPicUpdate);
-    const status = getStatusForUserId(state, currentUser.id);
-    return {
-        userId,
-        profilePicture,
-        status
-    };
-}
-
-function mapDispatchToProps(dispatch) {
-    return {
-        actions: bindActionCreators({
-            setStatus
-        }, dispatch)
-    };
-}
-
-export default connect(mapStateToProps, mapDispatchToProps)(StatusDropdown);
-- 
cgit v1.2.3-1-g7c22

