fix: some reply has null tags (#508)

This commit is contained in:
Nekotoxin 2022-05-05 20:35:22 +08:00 committed by GitHub
parent dfa8cc91ba
commit 370de5b9c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class SingleReplyBox extends React.Component {
<div>
<Helmet>
<title>{`${this.state.reply?.content} - ${this.state.reply?.author}`}</title>
<meta name="keywords" content={this.state.reply?.tags.join(",")} />
<meta name="keywords" content={this.state.reply?.tags?.join(",")} />
<meta name="description" content={`${this.state.topic?.title}`} />
</Helmet>
<div className={`box ${this.state.topic?.nodeId}`}>