diff --git a/src/components/MoreProjects.jsx b/src/components/MoreProjects.jsx index 90625aa..738495f 100644 --- a/src/components/MoreProjects.jsx +++ b/src/components/MoreProjects.jsx @@ -30,7 +30,7 @@ export function MoreProjects({user, minus}) { else if(error !== null) return "Error: {error}" return `...and ${data["public_repos"] - minus} more!` }, - [data, error] + [data, error, minus] ) return ( diff --git a/src/components/Project.jsx b/src/components/Project.jsx index cce3453..74e95e2 100644 --- a/src/components/Project.jsx +++ b/src/components/Project.jsx @@ -55,11 +55,13 @@ export function Project({user, repo}) { {data["description"]}