From 10eb258a0e1a9cb40b3145afe1b015886a7ee3c7 Mon Sep 17 00:00:00 2001 From: Luc Date: Fri, 29 Dec 2023 08:40:31 +0000 Subject: [PATCH] Update description --- app/[slug]/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/[slug]/page.tsx b/app/[slug]/page.tsx index 1effaf0..6da11c6 100644 --- a/app/[slug]/page.tsx +++ b/app/[slug]/page.tsx @@ -61,7 +61,7 @@ export default async function ({
{enstate.name}
- {enstate.records.description && ( + {enstate.records?.description && (
{enstate.records.description}
)} @@ -115,7 +115,8 @@ export async function generateMetadata({ return { title: `${data.name} | ENS Page`, - description: data.records.description || `View ${data.name}'s ENS Page`, + description: + data.records?.description || `View ${data.name}'s ENS Page`, icons: data.avatar, } as Metadata; }