diff --git a/frontend/components/projects/ProjectTile.tsx b/frontend/components/projects/ProjectTile.tsx index 12d0d692..66b69354 100644 --- a/frontend/components/projects/ProjectTile.tsx +++ b/frontend/components/projects/ProjectTile.tsx @@ -323,6 +323,7 @@ const ProjectTile: React.FC = ({ */ useEffect(() => { if (JSON.stringify(projectInput) != JSON.stringify(myProjectBase)) { + setLoading(true); setMyProjectBase(projectInput as ProjectBase); } else { controller2.abort(); @@ -361,7 +362,6 @@ const ProjectTile: React.FC = ({ * myProjectBase gets set to projectInput at the start. */ useEffect(() => { - setLoading(true); controller.abort(); controller = new AbortController(); const signal = controller.signal;