Spacing when sharing title + url

This commit is contained in:
Jackson Harper 2023-12-26 14:30:06 +08:00
parent 3362a5b016
commit 54b5bf6d0f
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -258,8 +258,8 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
const share = () => {
if (navigator.share) {
navigator.share({
title: title ?? props.article.title,
text: title ?? props.article.title,
title: (title ?? props.article.title) + '\n',
text: (title ?? props.article.title) + '\n',
url: props.article.originalArticleUrl,
})
}