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