fixed price slider

This commit is contained in:
Laura Dolibois
2025-06-14 17:18:33 +02:00
parent 745e56f8da
commit f783be4d63

View File

@@ -31,7 +31,7 @@ export default function PriceSlider({ min = 0, max = 10000, onChange }: PriceSli
} }
}; };
const formatValueToEuro = (val: number) => `${val.toFixed(2)}`; const formatValueToEuro = (val: number) => `${(val/100).toFixed(2)}`;
return ( return (
<Box sx={{ mb: 4 }}> <Box sx={{ mb: 4 }}>