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