Update stats-card.js

This commit is contained in:
Zohan Subhash
2023-01-14 11:17:00 +05:30
committed by GitHub
parent 237942c234
commit ad731cdfcb
+6 -1
View File
@@ -35,7 +35,12 @@ const createTextNode = ({
shiftValuePos,
bold,
}) => {
const kValue = kFormatter(value);
let kValue
if(isNaN(value)){
kValue = value
} else {
kValue = kFormatter(value)
}
const staggerDelay = (index + 3) * 150;
const labelOffset = showIcons ? `x="25"` : "";