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;
}