summaryrefslogtreecommitdiffstats
path: root/web/react/components/needs_team.jsx
blob: 33b9cd37ea6d34bc40447d4ce276a3c08d04809a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

import * as GlobalActions from '../action_creators/global_actions.jsx';

export default class NeedsTeam extends React.Component {
    componentWillMount() {
        GlobalActions.loadTeamRequiredPage();
    }
    render() {
        return this.props.children;
    }
}

NeedsTeam.defaultProps = {
};

NeedsTeam.propTypes = {
    children: React.PropTypes.object
};