Limit MAX_DPR to 3 in Image component

Reduces the maximum device pixel ratio (DPR) from 4 to 3 in the Image component to align with the configuration in routes/image.ts.
This commit is contained in:
Nolann Biron
2026-01-21 21:25:19 +01:00
parent f647af2003
commit 64697f4c6a
@@ -33,7 +33,11 @@ export type ImageResponsiveSize = {
width: number;
};
const MAX_DPR = 4;
/**
* Maximum device pixel ratio (DPR) to generate in srcSet.
* Limit to 3 to align with routes/image.ts
*/
const MAX_DPR = 3;
interface ImageCommonProps {
/**