From 5f21feca586baa475194327cb265e7b0ad327199 Mon Sep 17 00:00:00 2001 From: Anmol-Baranwal Date: Tue, 1 Aug 2023 16:27:13 +0530 Subject: [PATCH] feat: remove border and redundant code --- components/ForkButton/GitHubForkButton.tsx | 2 +- components/StarButton/GitHubStarButton.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/ForkButton/GitHubForkButton.tsx b/components/ForkButton/GitHubForkButton.tsx index cc0ccc589..f3bc025ae 100644 --- a/components/ForkButton/GitHubForkButton.tsx +++ b/components/ForkButton/GitHubForkButton.tsx @@ -28,7 +28,7 @@ export const GitHubForkButton: FC<{ repo: string }> = ({ repo }) => { rel="noopener noreferrer" aria-label={`Fork ${repo} on GitHub`} > -
+
Fork {forkCount} diff --git a/components/StarButton/GitHubStarButton.tsx b/components/StarButton/GitHubStarButton.tsx index 36abb715e..5ed6bf70b 100644 --- a/components/StarButton/GitHubStarButton.tsx +++ b/components/StarButton/GitHubStarButton.tsx @@ -28,8 +28,7 @@ export const GitHubStarButton: FC<{ repo: string }> = ({ repo }) => { rel="noopener noreferrer" aria-label={`Star ${repo} on GitHub`} > -
- {/*
*/} +
Star {starCount}