Fix: Variacion Format

This commit is contained in:
2025-07-24 13:53:27 -03:00
parent 5ebf4a4320
commit 697f093ef1
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ const Variacion = ({ value }: { value: number }) => {
return (
<Box component="span" sx={{ display: 'flex', alignItems: 'center', justifyContent: 'center', color }}>
<Icon sx={{ fontSize: '1rem', mr: 0.5 }} />
<Typography variant="body2" component="span" sx={{ fontWeight: 'bold' }}>{value.toFixed(2)}%</Typography>
<Typography variant="body2" component="span" sx={{ fontWeight: 'bold' }}>{formatCurrency(value)}%</Typography>
</Box>
);
};

View File

@@ -27,7 +27,7 @@ const Variacion = ({ value }: { value: number }) => {
return (
<Box component="span" sx={{ display: 'flex', alignItems: 'center', justifyContent: 'center', color }}>
<Icon sx={{ fontSize: '1rem', mr: 0.5 }} />
<Typography variant="body2" component="span" sx={{ fontWeight: 'bold' }}>{value.toFixed(2)}%</Typography>
<Typography variant="body2" component="span" sx={{ fontWeight: 'bold' }}>{formatCurrency(value)}%</Typography>
</Box>
);
};