parent
db30143d78
commit
0b647fb59e
@ -0,0 +1,50 @@
|
|||||||
|
import React, { Component } from 'react';
|
||||||
|
|
||||||
|
import { BrowserRouter as Router, Route, Link, Switch } from "react-router-dom";
|
||||||
|
|
||||||
|
import Loading from '../../Loading';
|
||||||
|
|
||||||
|
import Loadable from 'react-loadable';
|
||||||
|
|
||||||
|
import { TPMIndexHOC } from './TPMIndexHOC';
|
||||||
|
|
||||||
|
import { SnackbarHOC } from 'educoder';
|
||||||
|
|
||||||
|
import axios from 'axios';
|
||||||
|
|
||||||
|
|
||||||
|
class TPMIndex extends Component {
|
||||||
|
constructor(props) {
|
||||||
|
super(props)
|
||||||
|
this.state = {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
componentDidMount = () => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
render() {
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="newMain clearfix">
|
||||||
|
|
||||||
|
{/*<Switch {...this.props}>*/}
|
||||||
|
|
||||||
|
{/*<Route path="/shixuns/:shixunId/repository/:repoId/commits" render={*/}
|
||||||
|
{/*(props) => (<TPMRepositoryCommits {...this.props} {...this.state} {...props}*/}
|
||||||
|
{/*/>)*/}
|
||||||
|
{/*}></Route>*/}
|
||||||
|
|
||||||
|
{/*</Switch>*/}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default SnackbarHOC() (TPMIndexHOC ( TPMIndex ));
|
Loading…
Reference in new issue