Update stats-card.js

This commit is contained in:
Zohan Subhash
2023-01-14 11:59:30 +05:30
committed by GitHub
parent 8f63eaeef9
commit f02186908d
+1 -1
View File
@@ -98,7 +98,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
disable_animations = false,
} = options;
const name = stats.name || "GitHub User",
const name = stats.name || "GitHub User"
const apostrophe = ["x", "s"].includes(name.slice(-1).toLocaleLowerCase())
? ""