mirror of
https://git.aramjonghu.nl/AramJonghu/aramjonghu-site.git
synced 2026-06-06 17:18:24 +02:00
useState reduntant call removed, a project replaced
This commit is contained in:
@@ -89,8 +89,6 @@ export default function ProjectsReadme({ repoUrl }) {
|
|||||||
const base = useMemo(() => getRepoRawBase(repoUrl), [repoUrl]);
|
const base = useMemo(() => getRepoRawBase(repoUrl), [repoUrl]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setIsLoading(true);
|
|
||||||
|
|
||||||
fetchREADME(repoUrl).then((content) => {
|
fetchREADME(repoUrl).then((content) => {
|
||||||
setReadmeContent(content);
|
setReadmeContent(content);
|
||||||
setIsLoading(false);
|
setIsLoading(false);
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ export default function Home() {
|
|||||||
url: "https://git.aramjonghu.nl/AramJonghu/aramjonghu-site/raw/branch/master/README.md",
|
url: "https://git.aramjonghu.nl/AramJonghu/aramjonghu-site/raw/branch/master/README.md",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "game",
|
id: "file-organizer",
|
||||||
name: "Game (Gameron the Lost Level)",
|
name: "file-organizer written in zig",
|
||||||
url: "https://git.aramjonghu.nl/AramJonghu/gameron-the-lost-level/src/branch/master/README.md",
|
url: "https://git.aramjonghu.nl/AramJonghu/file-organizer/src/branch/main/README.md",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "nvim",
|
id: "nvim",
|
||||||
|
|||||||
Reference in New Issue
Block a user