mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
Adding go to conversation
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import React from 'react';
|
||||
import FeaturedComment from './FeaturedComment';
|
||||
|
||||
export default ({asset: {featuredComments}}) => (
|
||||
export default ({asset: {featuredComments}, setActiveTab}) => (
|
||||
<div>
|
||||
{featuredComments.nodes.map((comment) => <FeaturedComment key={comment.id} comment={comment} />)}
|
||||
{featuredComments.nodes.map((comment) =>
|
||||
<FeaturedComment
|
||||
key={comment.id}
|
||||
comment={comment}
|
||||
setActiveTab={setActiveTab} />
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user