mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 13:38:33 +08:00
14 lines
328 B
JavaScript
14 lines
328 B
JavaScript
import React from 'react';
|
|
import FeaturedComment from './FeaturedComment';
|
|
|
|
export default ({asset: {featuredComments}, setActiveTab}) => (
|
|
<div>
|
|
{featuredComments.nodes.map((comment) =>
|
|
<FeaturedComment
|
|
key={comment.id}
|
|
comment={comment}
|
|
setActiveTab={setActiveTab} />
|
|
)}
|
|
</div>
|
|
);
|