From 52a3fe743e6122d157eaab3ad7bab0c70a96676b Mon Sep 17 00:00:00 2001
From: Ivan Chen <ivan@thetaggid.com>
Date: Thu, 22 Oct 2020 17:42:29 -0400
Subject: [TMA-242] Twitter and Facebook Tagg View (#63)

* modified the way we store social media data, initial skeleton

* MVP? Twitter done?

* cleaned up some things

* forgot to lint and cleaned up some more code

* minor change to text display

* fixed some UI bug, linting, and minor adjustment to posts UI

* fixed a couple of things

* added DateLabel, Facebook taggs view, fixed minor stuff

* Some small changes for the PR

* removed unused Feed

Co-authored-by: Ashm Walia <ashmwalia@outlook.com>
---
 src/components/profile/Feed.tsx | 30 ------------------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 src/components/profile/Feed.tsx

(limited to 'src/components/profile/Feed.tsx')

diff --git a/src/components/profile/Feed.tsx b/src/components/profile/Feed.tsx
deleted file mode 100644
index 3353d25b..00000000
--- a/src/components/profile/Feed.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import React from 'react';
-import {PostType, UserType} from '../../types';
-import {Post} from '../common';
-import {AuthContext} from '../../routes/authentication';
-
-interface FeedProps {
-  user: UserType;
-}
-const Feed: React.FC<FeedProps> = ({user}) => {
-  const {instaPosts} = React.useContext(AuthContext);
-  const posts: Array<PostType> = [];
-  for (let i = 0; i < 10; i++) {
-    const testPost: PostType = {
-      owner: user,
-      social: 'Instagram',
-      socialHandle: 'igHandle',
-      data: instaPosts[i],
-    };
-    posts.push(testPost);
-  }
-  return (
-    <>
-      {posts.map((post, index) => (
-        <Post key={index} post={post} />
-      ))}
-    </>
-  );
-};
-
-export default Feed;
-- 
cgit v1.2.3-70-g09d2

