fix: add ? to src on image as contentstack cannot handle &
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user