diff --git a/frontend/components/projects/ProjectTile.tsx b/frontend/components/projects/ProjectTile.tsx index 4f1ea9e7..f2e8c72a 100644 --- a/frontend/components/projects/ProjectTile.tsx +++ b/frontend/components/projects/ProjectTile.tsx @@ -320,6 +320,7 @@ const ProjectTile: React.FC = ({ */ useEffect(() => { if (JSON.stringify(projectInput) != JSON.stringify(myProjectBase)) { + setLoading(true); setMyProjectBase(projectInput as ProjectBase); } else { controller2.abort(); @@ -358,7 +359,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;