mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
23 lines
494 B
JavaScript
23 lines
494 B
JavaScript
// 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
|
|
};
|