useState reduntant call removed, a project replaced

This commit is contained in:
2026-05-28 23:10:49 +02:00
parent 93f6991f0d
commit fe9e9082b2
2 changed files with 3 additions and 5 deletions
@@ -89,8 +89,6 @@ export default function ProjectsReadme({ repoUrl }) {
const base = useMemo(() => getRepoRawBase(repoUrl), [repoUrl]);
useEffect(() => {
setIsLoading(true);
fetchREADME(repoUrl).then((content) => {
setReadmeContent(content);
setIsLoading(false);