From fe9e9082b2b64c747ff18586173938d6e63c0135 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Thu, 28 May 2026 23:10:49 +0200 Subject: [PATCH] useState reduntant call removed, a project replaced --- frontend/src/components/ProjectsReadme.jsx | 2 -- frontend/src/pages/Home.jsx | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/ProjectsReadme.jsx b/frontend/src/components/ProjectsReadme.jsx index 31f4262..29c00d2 100644 --- a/frontend/src/components/ProjectsReadme.jsx +++ b/frontend/src/components/ProjectsReadme.jsx @@ -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); diff --git a/frontend/src/pages/Home.jsx b/frontend/src/pages/Home.jsx index 3e6dc03..882eb17 100644 --- a/frontend/src/pages/Home.jsx +++ b/frontend/src/pages/Home.jsx @@ -9,9 +9,9 @@ export default function Home() { url: "https://git.aramjonghu.nl/AramJonghu/aramjonghu-site/raw/branch/master/README.md", }, { - id: "game", - name: "Game (Gameron the Lost Level)", - url: "https://git.aramjonghu.nl/AramJonghu/gameron-the-lost-level/src/branch/master/README.md", + id: "file-organizer", + name: "file-organizer written in zig", + url: "https://git.aramjonghu.nl/AramJonghu/file-organizer/src/branch/main/README.md", }, { id: "nvim",