diff --git a/src/components/media.jsx b/src/components/media.jsx index 9c688572..ffd3f3ca 100644 --- a/src/components/media.jsx +++ b/src/components/media.jsx @@ -121,7 +121,6 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) { '--height': `${height}px`, aspectRatio: `${width} / ${height}`, }; - const fixedWidth = width > height * 2; if (isImage) { // Note: type: unknown might not have width/height @@ -143,7 +142,7 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) { return ( {} }) {