Update stats-card.js

This commit is contained in:
Zohan Subhash
2023-01-14 10:40:56 +05:30
committed by GitHub
parent 31f2920c09
commit 6349ec8f32
+13 -13
View File
@@ -71,19 +71,19 @@ const createTextNode = ({
*/
const renderStatsCard = (stats = {}, options = { hide: [] }) => {
const {
name,
totalStars,
totalCommits,
totalIssues,
totalPRs,
contributedTo,
rank,
starsTitle,
commitsTitle,
issuesTitle,
PRsTitle,
contribsTitle,
title,
name = "GitHub User",
totalStars = "2018",
totalCommits = "29019",
totalIssues = "203",
totalPRs = "127",
contributedTo = "232",
rank = "S",
starsTitle = "Total Stars:",
commitsTitle = "Total Commits:",
issuesTitle = "Total Issues:",
PRsTitle = "Total PRs:",
contribsTitle = "Total Contributions:",
title = "Your GitHub Stats",
} = stats;
const {
hide = [],