forked from Gitlink/forgeplus-react
Merge branch 'newVersion_forge' into dev_chain
This commit is contained in:
commit
3b58518e37
|
@ -163,10 +163,10 @@ export function TPMIndexHOC(WrappedComponent) {
|
|||
this.setState({
|
||||
tpmLoading: false
|
||||
})
|
||||
const { pathname } = this.props.history.location;
|
||||
if(pathname && pathname === "/"){
|
||||
this.props.history.push(`/users/${response.data.login}`);
|
||||
}
|
||||
// const { pathname } = this.props.history.location;
|
||||
// if(pathname && pathname === "/"){
|
||||
// this.props.history.push(`/users/${response.data.login}`);
|
||||
// }
|
||||
}
|
||||
}).catch((error) => {
|
||||
console.log(error)
|
||||
|
|
Loading…
Reference in New Issue