fixup
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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}`}
|
||||
|
||||
Reference in New Issue
Block a user