Don't use div inside p

This commit is contained in:
Chi Vinh Le
2017-07-10 21:53:55 +07:00
parent 34a4a005d1
commit ae52b27009
@@ -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>
);