diff options
Diffstat (limited to 'src/components/taggs/TaggsFeed.tsx')
-rw-r--r-- | src/components/taggs/TaggsFeed.tsx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/components/taggs/TaggsFeed.tsx b/src/components/taggs/TaggsFeed.tsx deleted file mode 100644 index 3f27e248..00000000 --- a/src/components/taggs/TaggsFeed.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import React from 'react'; -import {InstagramPostType, UserType} from '../../types'; -import {TaggPost} from './'; - -interface TaggsFeedProps { - user: UserType; - socialHandle: string; - posts: Array<InstagramPostType>; -} - -const TaggsFeed: React.FC<TaggsFeedProps> = ({user, socialHandle, posts}) => { - return ( - <> - {posts?.map((post, index) => ( - <TaggPost - key={index} - post={{ - owner: user, - social: 'Instagram', - socialHandle: socialHandle, - data: post, - }} - /> - ))} - </> - ); -}; - -export default TaggsFeed; |