mirror of
https://github.com/wassname/talk.git
synced 2026-08-03 13:20:59 +08:00
link to comment instead of article
This commit is contained in:
@@ -6,7 +6,7 @@ const Comment = props => {
|
||||
return (
|
||||
<div>
|
||||
<p className="myCommentAsset">
|
||||
<a className={`${styles.assetURL} myCommentAnchor`} href={props.asset.url}>{props.asset.url}</a>
|
||||
<a className={`${styles.assetURL} myCommentAnchor`} href={`${props.asset.url}#${props.comment.id}`}>{`${props.asset.url}#${props.comment.id}`}</a>
|
||||
</p>
|
||||
<p className={`${styles.commentBody} myCommentBody`}>{props.comment.body}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user