mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 19:23:09 +08:00
Don't use div inside p
This commit is contained in:
@@ -3,12 +3,13 @@ import React from 'react';
|
||||
export default ({asset: {recentComments}}) => (
|
||||
<div>
|
||||
{recentComments.map((comment) => (
|
||||
<p key={comment.id}>
|
||||
<div key={comment.id}>
|
||||
<div><strong>{comment.user.username}</strong></div>
|
||||
<div>
|
||||
{comment.body}
|
||||
</div>
|
||||
</p>
|
||||
<hr />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user