I'm getting the following error.
Expected src property for getImage or <Image /> to be either an ESM imported image or a string with the path of a remote image. Received undefined (type: undefined).
Full serialized options received: {"width":750,"height":422,"format":"webp","alt":"foritude","class":"w-full mb-6"}.
This is the code associated with it...
import { type TermsSchema } from "../content/config";
import BaseLayout from "./BaseLayout.astro";
import dayjs from "dayjs";
import localizedFormat from "dayjs/plugin/localizedFormat";
import { Image } from "astro:assets";
export interface Props extends TermsSchema {}
const {
title,
pubDate,
updatedDate,
appIcon
} = Astro.props;
dayjs.extend(localizedFormat);
const displayDate = dayjs(pubDate).format("ll");
---
<BaseLayout title={title}, ogType="term">
<main class="md:flex md:justify-center">
<article class="prose prose-lg max-w-[750px] prose-img:mx-auto">
<h1 class="title my-2 text-4xl font-bold">{title}</h1>
<h4>Terms of Service</h4>
<Image width={750} height={422} format="webp" src={appIcon} alt={title} class="w-full mb-6" />
{pubDate && <time>{displayDate}</time>}
<br />
{
updatedDate && (
<div>
{" "}
Last updated on {displayDate}
</div>
)
}
<div class="divider my-2"></div>
<slot />
</article>
</main>
</BaseLayout>