diff --git a/packages/web/components/templates/ArticleHighlights.tsx b/packages/web/components/templates/ArticleHighlights.tsx index e5ad9768c..ad79c7876 100644 --- a/packages/web/components/templates/ArticleHighlights.tsx +++ b/packages/web/components/templates/ArticleHighlights.tsx @@ -69,10 +69,10 @@ function LoadedContent(props: LoadedContentProps): JSX.Element { return props.publicArticle.highlights.length - 1 }, [props.publicArticle.highlights]) - const sharedBy = useMemo(() => { - if (moreHighlightsCount < 1) return undefined - return props.publicArticle.highlights[0].user - }, [moreHighlightsCount, props.publicArticle.highlights]) + // const sharedBy = useMemo(() => { + // if (moreHighlightsCount < 1) return undefined + // return props.publicArticle.highlights[0].user + // }, [moreHighlightsCount, props.publicArticle.highlights]) const articleSite = useMemo(() => { try { @@ -124,7 +124,7 @@ function LoadedContent(props: LoadedContentProps): JSX.Element { site={articleSite} /> - {!showAllHighlights && moreHighlightsCount > 0 && sharedBy && ( + {!showAllHighlights && moreHighlightsCount > 0 && ( )}