From 7d82c0d0ae279694eb47dd523797f0eea1cb9c9f Mon Sep 17 00:00:00 2001 From: TED Vortex Date: Sun, 9 Apr 2023 13:00:26 +0200 Subject: [PATCH] fix: correct zero contribution top repos language distribution --- src/social-card/templates/user-langs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/social-card/templates/user-langs.ts b/src/social-card/templates/user-langs.ts index 464fdf4..09bebda 100644 --- a/src/social-card/templates/user-langs.ts +++ b/src/social-card/templates/user-langs.ts @@ -8,7 +8,7 @@ const userLangs = (langs: (Language & { size: number })[], totalCount = 0, joinL .map(({ color, size }) => { const realPercent = Math.round(size / totalCount * 100); - return `
`; + return `
`; }) .join(joinLiteral); };