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

---
 .../searchable_user_list_container.jsx             | 74 ----------------------
 1 file changed, 74 deletions(-)
 delete mode 100644 webapp/components/searchable_user_list/searchable_user_list_container.jsx

(limited to 'webapp/components/searchable_user_list/searchable_user_list_container.jsx')

diff --git a/webapp/components/searchable_user_list/searchable_user_list_container.jsx b/webapp/components/searchable_user_list/searchable_user_list_container.jsx
deleted file mode 100644
index 8c0694a0c..000000000
--- a/webapp/components/searchable_user_list/searchable_user_list_container.jsx
+++ /dev/null
@@ -1,74 +0,0 @@
-import PropTypes from 'prop-types';
-
-// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import React from 'react';
-
-import SearchableUserList from './searchable_user_list.jsx';
-
-export default class SearchableUserListContainer extends React.Component {
-    static propTypes = {
-        users: PropTypes.arrayOf(PropTypes.object),
-        usersPerPage: PropTypes.number,
-        total: PropTypes.number,
-        extraInfo: PropTypes.object,
-        nextPage: PropTypes.func.isRequired,
-        search: PropTypes.func.isRequired,
-        actions: PropTypes.arrayOf(PropTypes.func),
-        actionProps: PropTypes.object,
-        actionUserProps: PropTypes.object,
-        focusOnMount: PropTypes.bool
-    };
-
-    constructor(props) {
-        super(props);
-
-        this.handleTermChange = this.handleTermChange.bind(this);
-
-        this.nextPage = this.nextPage.bind(this);
-        this.previousPage = this.previousPage.bind(this);
-        this.search = this.search.bind(this);
-
-        this.state = {
-            term: '',
-            page: 0
-        };
-    }
-
-    handleTermChange(term) {
-        this.setState({term});
-    }
-
-    nextPage() {
-        this.setState({page: this.state.page + 1});
-
-        this.props.nextPage(this.state.page + 1);
-    }
-
-    previousPage() {
-        this.setState({page: this.state.page - 1});
-    }
-
-    search(term) {
-        this.props.search(term);
-
-        if (term !== '') {
-            this.setState({page: 0});
-        }
-    }
-
-    render() {
-        return (
-            <SearchableUserList
-                {...this.props}
-                nextPage={this.nextPage}
-                previousPage={this.previousPage}
-                search={this.search}
-                page={this.state.page}
-                term={this.state.term}
-                onTermChange={this.handleTermChange}
-            />
-        );
-    }
-}
-- 
cgit v1.2.3-1-g7c22

