From 5ccb1ec0be71ed4efb22b4942d70d9132415f69e Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Tue, 30 Jun 2020 00:43:48 +0300
Subject: style: fix some eslint errors

---
 src/hooks/useAuth.tsx | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

(limited to 'src/hooks/useAuth.tsx')

diff --git a/src/hooks/useAuth.tsx b/src/hooks/useAuth.tsx
index 4f76593..00d0c7c 100644
--- a/src/hooks/useAuth.tsx
+++ b/src/hooks/useAuth.tsx
@@ -1,4 +1,6 @@
-import React, { useState, useEffect, useContext, createContext } from 'react';
+import React, {
+  useState, useEffect, useContext, createContext
+} from 'react';
 import { User } from 'which-types';
 import { post, get } from '../requests';
 
@@ -60,16 +62,18 @@ const useProvideAuth = () => {
     }
   }, []);
 
-  return { user, setUser, login, logout, isAuthenticated };
+  return {
+    user, setUser, login, logout, isAuthenticated
+  };
 };
 
 export const AuthProvider: React.FC = ({ children }) => {
   const auth = useProvideAuth();
   const { Provider } = authContext;
-  return <Provider value={auth}>{children}</Provider>
+  return <Provider value={auth}>{children}</Provider>;
 };
 
 export const useAuth = () => {
   return useContext(authContext);
-}
+};
 
-- 
cgit v1.2.3

