From 980c1f5db36d1ba798c115c35bffa2d538167aff Mon Sep 17 00:00:00 2001 From: Aidan Froggatt Date: Tue, 5 Nov 2024 23:24:10 -0500 Subject: [PATCH] fixing issues with events schema --- app/newsletters/[slug]/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/newsletters/[slug]/page.tsx b/app/newsletters/[slug]/page.tsx index 6006b05..29a7a89 100644 --- a/app/newsletters/[slug]/page.tsx +++ b/app/newsletters/[slug]/page.tsx @@ -38,7 +38,7 @@ const fetchNewsletter = async (slug: string) => { const serializers = { types: { - image: ({ value }: { value: unknown }) => ( + image: ({ value }: { value: { asset: { url: string }; alt?: string } }) => (
( + link: ({ children, value }: { children: React.ReactNode; value: { href: string } }) => ( {children}