fix: add href for reply page (#513)

This commit is contained in:
Nekotoxin 2022-05-06 15:37:04 +08:00 committed by GitHub
parent 3d8d99de55
commit ccc6af382a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -345,9 +345,9 @@ class ReplyBox extends React.Component {
</a>
) : null}
{isChild ? null : (
<span className={`no ${this.props.topic.nodeId}`} onClick={() => this.props.history.push(`/r/${reply.id}`)}>
<Link className={`no ${this.props.topic.nodeId}`} to={`/r/${reply.id}`}>
{no + 1}
</span>
</Link>
)}
</div>
<strong>