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,4 +1,4 @@
import Image from "next/image"
import Image from "@/components/Image"
import Link from "next/link"
import { EmbedEnum } from "@/types/requests/utils/embeds"
@@ -54,7 +54,6 @@ export const renderOptions: RenderOptions = {
className={styles.image}
height={image.node.dimension.height}
src={image?.node?.url}
unoptimized
width={image.node.dimension.width}
/>
)