diff --git a/src/js/hooks/seo/useUserProfileSeo.ts b/src/js/hooks/seo/useUserProfileSeo.ts index e8891e6d7..f1471ecc4 100644 --- a/src/js/hooks/seo/useUserProfileSeo.ts +++ b/src/js/hooks/seo/useUserProfileSeo.ts @@ -16,7 +16,7 @@ export const useUserProfileSeo = ({ username = '', fullName = '', imageList = [] const author = `/u/${username}` const count = imageList?.length ?? 0 const photoCountStr = `${count === 0 ? '' : count} Photo${count > 1 ? 's' : ''}` - const pageTitle = `${fullName} (${author}) • ${photoCountStr} on OpenBeta` + const pageTitle = `${fullName ?? ''} (${author}) • ${photoCountStr} on OpenBeta` const pageImages = count > 0 ? getRandomPreviewImages(imageList) : [] return { author, pageTitle, pageImages } }