From 69e56e17e7624cac7cb5dd5de0ccfc2b9ff57a3b Mon Sep 17 00:00:00 2001 From: Brian 'bdougie' Douglas Date: Mon, 1 Apr 2024 15:50:07 -0700 Subject: [PATCH] hot points to app --- src/components/HotRepoCard.tsx | 52 +++++++++------------------------- 1 file changed, 14 insertions(+), 38 deletions(-) diff --git a/src/components/HotRepoCard.tsx b/src/components/HotRepoCard.tsx index 6aad86e5..0693e9db 100644 --- a/src/components/HotRepoCard.tsx +++ b/src/components/HotRepoCard.tsx @@ -30,7 +30,7 @@ const HotRepoCard = ({ repoName }: HotRepoCardProps): JSX.Element => { rel="noreferrer" target="_blank" href={`${String( - `${bugReportLink} repo not found [${repoName}]&body=Please take a look why this ${repoName} not founded`, + `${bugReportLink} repo not found [${repoName}]&body=Please take a look why this ${repoName} not founded` )}`} > Report a bug @@ -43,10 +43,7 @@ const HotRepoCard = ({ repoName }: HotRepoCardProps): JSX.Element => { if (isLoading) { return (
- +
); } @@ -58,62 +55,41 @@ const HotRepoCard = ({ repoName }: HotRepoCardProps): JSX.Element => {
- Hot Repo Icon - - - {owner} - + Hot Repo Icon + + {owner}
{name} -

- {description} -

+

{description}

- - - - {humanizeNumber(issues)} - + + + {humanizeNumber(issues)}
- - - - {humanizeNumber(stars)} - + + + {humanizeNumber(stars)}
- + 0