diff --git a/src/forge/Information/Component/partner.jsx b/src/forge/Information/Component/partner.jsx index b2fb731d3..5428233bd 100644 --- a/src/forge/Information/Component/partner.jsx +++ b/src/forge/Information/Component/partner.jsx @@ -24,7 +24,7 @@ function Partner(props) { function getUnit(array){ const newArray = array - setMoreTypes(array.length > 0) + setMoreTypes(array.length > 1) while(newArray[1] && newArray[1].length + newArray[0].length <= 5) { newArray[0] = [...newArray[0], ...newArray.splice(1, 1)[0]] diff --git a/src/forge/Information/Pages/newsDetail.jsx b/src/forge/Information/Pages/newsDetail.jsx index d689e3a90..e33d05978 100644 --- a/src/forge/Information/Pages/newsDetail.jsx +++ b/src/forge/Information/Pages/newsDetail.jsx @@ -32,7 +32,9 @@ function NewsDetail(props){ setContent(Base64.decode(data.content)); setIsSpin(false) } - }).catch(error=>{}) + }).catch(error=>{ + setIsSpin(false) + }) } return(
diff --git a/src/forge/Information/index.scss b/src/forge/Information/index.scss index cd9a04db2..a6fb1f39b 100644 --- a/src/forge/Information/index.scss +++ b/src/forge/Information/index.scss @@ -1084,6 +1084,7 @@ box-shadow:0px 0px 15px rgba(28, 48, 175, 0.08); transition: 0.1s linear; img{ + max-width: 180px; max-height: 66px; } &:hover {