From e1c44e40680d52cd1862e795fc7fbf4ab4af929f Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Sun, 14 Jun 2020 18:07:14 +0300 Subject: add feed to profile --- src/Pages/ProfilePage/ProfilePage.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/Pages') diff --git a/src/Pages/ProfilePage/ProfilePage.tsx b/src/Pages/ProfilePage/ProfilePage.tsx index a2dd3cc..65c3fcf 100644 --- a/src/Pages/ProfilePage/ProfilePage.tsx +++ b/src/Pages/ProfilePage/ProfilePage.tsx @@ -2,15 +2,19 @@ import React from 'react'; import { User } from '../../types'; import SignInForm from './SignInForm'; import ProfileInfo from './ProfileInfo'; +import Feed from "../../Components/Feed/Feed"; interface PropTypes { setUser: (newUser: User | undefined) => void; user: User | undefined; } -const ProfilePage: React.FC = ({ setUser, user }) => { +const ProfilePage: React.FC = ({ setUser, user}) => { return ( - user ? + user ? <> + + + : ); }; -- cgit v1.2.3