fix: add ? to src on image as contentstack cannot handle &
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { renderOptions } from "./renderOptions"
|
||||
|
||||
import Image from "next/image"
|
||||
import JsonToHtml from "@/components/JsonToHtml"
|
||||
import Link from "next/link"
|
||||
|
||||
import styles from "./puff.module.css"
|
||||
|
||||
import type { PuffProps } from "@/types/components/current/asides/puff"
|
||||
import Image from "@/components/Image"
|
||||
|
||||
export default function Puff({ imageConnection, is_internal, link, link_text, pageConnection, text, title }: PuffProps) {
|
||||
if (is_internal) {
|
||||
@@ -46,7 +46,6 @@ function PuffContent({ imageConnection, text, title }: Pick<PuffProps, "imageCon
|
||||
height={image.node.dimension.height}
|
||||
key={image.node.system.uid}
|
||||
src={image.node.url}
|
||||
unoptimized
|
||||
width={image.node.dimension.width}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user