mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
use article for posts
This commit is contained in:
parent
e0f1686e61
commit
f0532d2370
@ -154,7 +154,7 @@ export default class PostCard extends React.PureComponent {
|
||||
}
|
||||
|
||||
render() {
|
||||
return <div
|
||||
return <article
|
||||
key={this.props.index}
|
||||
id={this.props.data._id}
|
||||
style={this.props.style}
|
||||
@ -211,6 +211,6 @@ export default class PostCard extends React.PureComponent {
|
||||
post_id={this.props.data._id}
|
||||
visible={this.state.open}
|
||||
/>
|
||||
</div>
|
||||
</article>
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user