diff --git a/src/modules/tpm/TPMIndexHOC.js b/src/modules/tpm/TPMIndexHOC.js index bff0ded4..e9e23d04 100644 --- a/src/modules/tpm/TPMIndexHOC.js +++ b/src/modules/tpm/TPMIndexHOC.js @@ -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)