diff --git a/src/forge/Information/Pages/selfList.jsx b/src/forge/Information/Pages/selfList.jsx index f6b9312aa..54e1a6b36 100644 --- a/src/forge/Information/Pages/selfList.jsx +++ b/src/forge/Information/Pages/selfList.jsx @@ -29,14 +29,6 @@ function SelfList(props){ } },[id,source,page]) - function getFunc(s){ - if(s===true){ - getSource(); - } - if(s===false){ - getNew(); - } - } useEffect(()=>{ if(page===1){ @@ -47,6 +39,14 @@ function SelfList(props){ } },[status]) + function getFunc(s){ + if(s===true){ + getSource(); + } + if(s===false){ + getNew(); + } + } useEffect(()=>{ if(pathname){ @@ -126,8 +126,8 @@ function SelfList(props){