forked from Minecraft/Stonks
parent
7f9f9a01c4
commit
7c359aa390
|
@ -81,10 +81,7 @@ const AggregatesShowcase = () => {
|
||||||
<StatLabel>{prettifyStatisticName(x.type, x.name)}</StatLabel>
|
<StatLabel>{prettifyStatisticName(x.type, x.name)}</StatLabel>
|
||||||
<StatNumber>{`${x.value
|
<StatNumber>{`${x.value
|
||||||
.toString()
|
.toString()
|
||||||
.replace(
|
.replace(/\B(?=(\d{3})+(?!\d))/g, ",")}`}</StatNumber>
|
||||||
/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g,
|
|
||||||
","
|
|
||||||
)}`}</StatNumber>
|
|
||||||
</Stat>
|
</Stat>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|
Loading…
Reference in New Issue