1
Fork 0
mirror of https://github.com/Steffo99/steffoweb.git synced 2024-11-24 09:04:30 +00:00

🔧 Add stargazers link

This commit is contained in:
Steffo 2021-10-25 13:39:41 +02:00
parent eea825074f
commit 23463ecb0d
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 5 additions and 3 deletions

View file

@ -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 (

View file

@ -55,11 +55,13 @@ export function Project({user, repo}) {
{data["description"]}
</div>
<div className={Style.Stars}>
<Anchor href={`https://github.com/${user}/${repo}/stargazers`}>
<FontAwesomeIcon icon={faStar}/> {data["stargazers_count"]}
</Anchor>
</div>
</>
},
[data, error]
[user, repo, data, error]
)
return (