Skip to content

Commit

Permalink
fix: use 100vw for sizes attribute in ResponsiveImage handler
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Nov 8, 2024
1 parent b4e6035 commit 8958664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/media/slideshow/ResponsiveImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface ResponsiveImageProps {
/**
* NextJS image wrapper with loading indicator
*/
export default function ResponsiveImage ({ mediaUrl, isHero = true, isSquare = false, sizes = '20vw' }: ResponsiveImageProps): JSX.Element {
export default function ResponsiveImage ({ mediaUrl, isHero = true, isSquare = false, sizes = '100vw' }: ResponsiveImageProps): JSX.Element {
const [isLoading, setLoading] = useState<boolean>(true)
useEffect(() => {
setLoading(true)
Expand Down

0 comments on commit 8958664

Please sign in to comment.