From b75eef4dee1d5014afc5e92d369c2d709ca09703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Fri, 31 May 2024 17:56:52 +0800 Subject: [PATCH] update --- src/forge/Main/CoderDepot.jsx | 2 +- src/forge/Main/Detail.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index c864a5279..1da73a9fb 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -434,7 +434,7 @@ function CoderDepot(props){ }
{ - projectDetail && + projectDetail && mirror_status === 0 &&
diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index 873e08bd2..9e39adc61 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -283,9 +283,7 @@ class Detail extends Component { this.canvasChannel(); this.setState({ firstSync: true, - secondSync: false - }) - this.setState({ + secondSync: false, mirror_status:1 }) } else if (data.mirror_status === 2) {