import React, { Component } from 'react'; import { Redirect } from 'react-router'; import PropTypes from 'prop-types'; import TPMCollaborators from './TPMCollaborators' import axios from 'axios'; class TPMChallengeContainer extends Component { constructor(props) { super(props) this.state = { } } componentWillReceiveProps(newProps, newContext) { } componentDidMount() { // this.props.showShixun(); } render() { const { tpmLoading } = this.props; const user = this.props.current_user; return ( { tpmLoading ?
: }
); } } export default TPMChallengeContainer;