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

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

import React from 'react';

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

NeedsTeam.defaultProps = {
};

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