1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-18 00:19:49 +01:00

Rremove millify from PrettifyLargeNumber

This commit is contained in:
Gastón Fournier 2024-09-02 17:09:56 +02:00
parent eda3f7a232
commit 9bc0af865c
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -1,5 +1,4 @@
import type { FC } from 'react';
import millify from 'millify';
import { Tooltip } from '@mui/material';
import { LARGE_NUMBER_PRETTIFIED } from 'utils/testIds';
import { ConditionallyRender } from '../ConditionallyRender/ConditionallyRender';
@ -32,7 +31,7 @@ export const PrettifyLargeNumber: FC<IPrettifyLargeNumberProps> = ({
if (value < threshold) {
prettyValue = `${value}`;
} else {
prettyValue = millify(value, { precision });
prettyValue = `${value}`;
showTooltip = true;
}