diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js index 50716b4f3..d4bbeae52 100644 --- a/public/react/src/modules/tpm/TPMBanner.js +++ b/public/react/src/modules/tpm/TPMBanner.js @@ -236,7 +236,7 @@ class TPMBanner extends Component { this.setState({ Forkvisibletype:true, }) - + let id = this.props.match.params.shixunId; let url = "/shixuns/" + id + "/copy.json"; axios.post(url, { @@ -250,7 +250,7 @@ class TPMBanner extends Component { Forkauthentication: false, // Forkvisibletype:false }) - // window.location.href = "/shixuns/" + response.data.shixun + "/challenges"; + window.location.href = "/shixuns/" + response.data.shixun + "/challenges"; } }).catch((error) => {