diff --git a/apps/dashboard/src/app/(dashboard)/profile/[addressOrEns]/ProfileUI.tsx b/apps/dashboard/src/app/(dashboard)/profile/[addressOrEns]/ProfileUI.tsx index 22cefdb784f..4747892fe29 100644 --- a/apps/dashboard/src/app/(dashboard)/profile/[addressOrEns]/ProfileUI.tsx +++ b/apps/dashboard/src/app/(dashboard)/profile/[addressOrEns]/ProfileUI.tsx @@ -13,7 +13,7 @@ import { PublishedContracts } from "./components/published-contracts"; export function ProfileUI(props: { profileAddress: string; ensName: string | undefined; - publisherProfile: ProfileMetadata; + publisherProfile: ProfileMetadata | null; showEditProfile: boolean; }) { const { profileAddress, ensName, publisherProfile, showEditProfile } = props; @@ -34,21 +34,25 @@ export function ProfileUI(props: { {displayName} - {publisherProfile.bio && ( + {publisherProfile?.bio && (
{publisherProfile.bio}
)}