mirror of
https://github.com/umami-software/umami.git
synced 2026-02-23 05:55:35 +01:00
Replace formatLongNumber with intl.formatNumber
This commit is contained in:
parent
5636bd9617
commit
16f86c7715
12 changed files with 44 additions and 48 deletions
|
|
@ -39,7 +39,7 @@ export function FunnelChart({ className }: FunnelChartProps) {
|
|||
{formatMessage(labels.visitors)}
|
||||
</div>
|
||||
<div className={styles.percent}>
|
||||
{intl.formatNumber(+remaining, { style: 'percent', maximumFractionDigits: 1 })}
|
||||
{intl.formatNumber(remaining, { style: 'percent', maximumFractionDigits: 1 })}
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.track}>
|
||||
|
|
@ -49,7 +49,7 @@ export function FunnelChart({ className }: FunnelChartProps) {
|
|||
<div className={styles.info}>
|
||||
<b>{intl.formatNumber(dropped, formatLongNumberOptions(dropped))}</b>{' '}
|
||||
{formatMessage(labels.visitorsDroppedOff)} (
|
||||
{intl.formatNumber(+dropoff, { style: 'percent', maximumFractionDigits: 1 })})
|
||||
{intl.formatNumber(dropoff, { style: 'percent', maximumFractionDigits: 1 })})
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue