From be94f50ee5f932a6f68e4240f1217caac2e5aa1f Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 26 Aug 2024 14:28:36 +0800 Subject: [PATCH] Dont show bullet if hiding URLs --- packages/web/components/patterns/ArticleSubtitle.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/web/components/patterns/ArticleSubtitle.tsx b/packages/web/components/patterns/ArticleSubtitle.tsx index d04e32ca3..f7e52bda8 100644 --- a/packages/web/components/patterns/ArticleSubtitle.tsx +++ b/packages/web/components/patterns/ArticleSubtitle.tsx @@ -19,7 +19,10 @@ export function ArticleSubtitle(props: ArticleSubtitleProps): JSX.Element { return ( - {subtitle} {subtitle && }{' '} + {subtitle}{' '} + {subtitle && !shouldHideUrl(props.href) && ( + + )}{' '} {!props.hideButton && !shouldHideUrl(props.href) && ( <>