fix: add ? to src on image as contentstack cannot handle &

This commit is contained in:
Simon Emanuelsson
2024-02-12 16:22:14 +01:00
parent e5324f6f2f
commit df2b99a135
5 changed files with 25 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
"use client"
import Image from "next/image"
import Image from "@/components/Image"
import styles from "./hero.module.css"
@@ -26,7 +26,6 @@ export default function Hero({ images }: HeroProps) {
height={image.dimension.height}
key={image.title}
src={image.url}
unoptimized
width={image.dimension.width}
/>
))}