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