1
0
Fork 0

Fix regex for Safari in other file

main release-0.5
Kevin Belisle 2021-09-01 21:10:56 -04:00
parent 7c359aa390
commit 959ac79fbd
1 changed files with 4 additions and 4 deletions

View File

@ -33,10 +33,10 @@ const StackedBarSegment = ({ aggregate, total }) => {
hasArrow hasArrow
label={`${aggregate.value label={`${aggregate.value
.toString() .toString()
.replace( .replace(/\B(?=(\d{3})+(?!\d))/g, ",")} ${prettifyStatisticName(
/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g, aggregate.type,
"," aggregate.name
)} ${prettifyStatisticName(aggregate.type, aggregate.name)}`} )}`}
> >
<Box <Box
width={aggregate.value / total} width={aggregate.value / total}