diff --git a/site/gdocs/components/HomepageIntro.tsx b/site/gdocs/components/HomepageIntro.tsx index ba07975ce18..ed7b25292f6 100644 --- a/site/gdocs/components/HomepageIntro.tsx +++ b/site/gdocs/components/HomepageIntro.tsx @@ -32,7 +32,7 @@ function FeaturedWorkTile({ const { isPreviewing } = useContext(DocumentContext) const linkedDocumentFeaturedImage = linkedDocument?.["featured-image"] const thumbnailFilename = filename ?? linkedDocumentFeaturedImage - const href = `/${linkedDocument?.slug}` || url + const href = linkedDocument ? `/${linkedDocument.slug}` : url if (isPreviewing) { if (errorMessage) {