Fix undefined check and use consistent number formatting function names

This commit is contained in:
Bill Thornton
2025-06-09 15:12:34 -04:00
parent 1c6dac5936
commit 329c878d52
4 changed files with 9 additions and 9 deletions
@@ -9,7 +9,7 @@ import CircularProgress, {
} from '@mui/material/CircularProgress';
import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';
import { toPercent } from 'utils/number';
import { toPercentString } from 'utils/number';
import { getCurrentDateTimeLocale } from 'lib/globalize';
import type { ItemDto } from 'types/base/models/item-dto';
@@ -36,7 +36,7 @@ function CircularProgressWithLabel(
component='div'
color='text.secondary'
>
{toPercent(props.value / 100, getCurrentDateTimeLocale())}
{toPercentString(props.value / 100, getCurrentDateTimeLocale())}
</Typography>
</Box>
</Box>