diff --git a/src/forge/Component/Contributors.jsx b/src/forge/Component/Contributors.jsx index 3c3c2a42..1e26354a 100644 --- a/src/forge/Component/Contributors.jsx +++ b/src/forge/Component/Contributors.jsx @@ -7,7 +7,7 @@ import './Component.scss'; import { getUser } from '../GetData/getData'; import axios from 'axios'; -function Contributors({contributors,owner,projectsId,id,showNotification}){ +function Contributors({contributors,owner,projectsId}){ const [ menuList ,setMenuList ]= useState([]); const [ list , setList ]= useState(undefined); const [ total , setTotal ]= useState(0); @@ -104,7 +104,6 @@ function Contributors({contributors,owner,projectsId,id,showNotification}){ a[0].is_watch = flag; } setMenusFunc(a[0]); - showNotification(result.data.message); } }) .catch(error => { diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index d5de1e2b..448edf62 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -417,7 +417,7 @@ function CoderDepot(props){ {/* 贡献者 */} { projectDetail && projectDetail.contributors && - + } {/* 语言 */} { projectDetail && projectDetail.languages &&