Dont show bullet if hiding URLs
This commit is contained in:
@ -19,7 +19,10 @@ export function ArticleSubtitle(props: ArticleSubtitleProps): JSX.Element {
|
||||
return (
|
||||
<Box>
|
||||
<StyledText style={textStyle} css={{ wordBreak: 'break-word' }}>
|
||||
{subtitle} {subtitle && <span style={{ bottom: 1 }}>• </span>}{' '}
|
||||
{subtitle}{' '}
|
||||
{subtitle && !shouldHideUrl(props.href) && (
|
||||
<span style={{ bottom: 1 }}>• </span>
|
||||
)}{' '}
|
||||
{!props.hideButton && !shouldHideUrl(props.href) && (
|
||||
<>
|
||||
<StyledLink
|
||||
|
||||
Reference in New Issue
Block a user