1
0
Fork 0

Remove apparently useless look behind (fix Safari)

main release-0.4
Kevin Belisle 2021-09-01 12:09:35 -04:00
parent 7f9f9a01c4
commit 7c359aa390
1 changed files with 1 additions and 4 deletions

View File

@ -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>
); );
})} })}