From fabc53130685f70078343a6fd96d9a597b22008f Mon Sep 17 00:00:00 2001
From: ilyayudovin <ilyayudovin123@gmail.com>
Date: Sun, 14 Jun 2020 19:49:10 +0300
Subject: fix: clear eslint errors

---
 src/Pages/ProfilePage/ProfilePage.tsx | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

(limited to 'src/Pages/ProfilePage/ProfilePage.tsx')

diff --git a/src/Pages/ProfilePage/ProfilePage.tsx b/src/Pages/ProfilePage/ProfilePage.tsx
index 65c3fcf..ee95769 100644
--- a/src/Pages/ProfilePage/ProfilePage.tsx
+++ b/src/Pages/ProfilePage/ProfilePage.tsx
@@ -2,19 +2,22 @@ import React from 'react';
 import { User } from '../../types';
 import SignInForm from './SignInForm';
 import ProfileInfo from './ProfileInfo';
-import Feed from "../../Components/Feed/Feed";
+import Feed from '../../components/Feed/Feed';
 
 interface PropTypes {
   setUser: (newUser: User | undefined) => void;
   user: User | undefined;
 }
 
-const ProfilePage: React.FC<PropTypes> = ({ setUser, user}) => {
+const ProfilePage: React.FC<PropTypes> = ({ setUser, user }) => {
   return (
-    user ? <>
-      <ProfileInfo id={user?._id} setUser={setUser} />
-      <Feed page={'Feed'}/>
-      </>
+    user
+      ? (
+        <>
+          <ProfileInfo id={user?._id} setUser={setUser} />
+          <Feed page="Feed" />
+        </>
+      )
       : <SignInForm setUser={setUser} />
   );
 };
-- 
cgit v1.2.3

