mirror of https://github.com/casbin/casnode.git
fix: some reply has null tags (#508)
This commit is contained in:
parent
dfa8cc91ba
commit
370de5b9c4
|
@ -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}`}>
|
||||
|
|
Loading…
Reference in New Issue