update the github link
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m2s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m2s
This commit is contained in:
parent
69502c7709
commit
d90a3985cb
@ -8,7 +8,7 @@ export function GithubStar(): ReactElement {
|
||||
const [starCount, setStarCount] = useState(0);
|
||||
|
||||
const getStarCount = async () => {
|
||||
const res = await fetch("https://api.github.com/repos/RealFascinated/minecraft-helper");
|
||||
const res = await fetch("https://api.github.com/repos/RealFascinated/MinecraftUtilities");
|
||||
const data = await res.json();
|
||||
return data.stargazers_count;
|
||||
};
|
||||
@ -20,7 +20,7 @@ export function GithubStar(): ReactElement {
|
||||
return (
|
||||
<Link
|
||||
className="bg-github-green px-2 py-1 rounded-lg items-center gap-1 hover:opacity-85 transform-gpu transition-all hidden md:flex"
|
||||
href="https://github.com/RealFascinated/minecraft-helper"
|
||||
href="https://github.com/RealFascinated/MinecraftUtilities"
|
||||
target="_blank"
|
||||
>
|
||||
<p className="text-white text-sm bg-github-green-accent py-[3px] px-[4px] rounded-lg leading-none">{starCount}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user