mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
15 lines
295 B
JavaScript
15 lines
295 B
JavaScript
import React from 'react';
|
|
|
|
export default ({asset: {recentComments}}) => (
|
|
<div>
|
|
{recentComments.map((comment) => (
|
|
<p key={comment.id}>
|
|
<div><strong>{comment.user.username}</strong></div>
|
|
<div>
|
|
{comment.body}
|
|
</div>
|
|
</p>
|
|
))}
|
|
</div>
|
|
);
|