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:
parent
eda3f7a232
commit
9bc0af865c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user