This commit is contained in:
oiov
2024-11-02 15:58:03 +08:00
parent a8c34ce5ac
commit ff2c7753d1
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export default async function HeroLanding() {
you need to build better.
</p>
<div className="flex justify-center space-x-2">
<div className="flex flex-col items-center justify-center gap-2 md:flex-row">
<GitHubStarsWithSuspense
owner="oiov"
repo="wr.do"
-6
View File
@@ -60,12 +60,6 @@ const GitHubStarsButton: React.FC<GitHubStarsButtonProps> = ({
}
}, [owner, repo, initialStars]);
if (error) {
return (
<span className="text-sm text-red-500">Unable to load GitHub stars</span>
);
}
return (
<Link
href={`https://github.com/${owner}/${repo}`}