summaryrefslogtreecommitdiff
path: root/src/core/hooks/useAuth.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hooks/useAuth.js')
-rw-r--r--src/core/hooks/useAuth.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hooks/useAuth.js b/src/core/hooks/useAuth.js
index 488562f6..13f04454 100644
--- a/src/core/hooks/useAuth.js
+++ b/src/core/hooks/useAuth.js
@@ -1,3 +1,4 @@
+import { useEffect, useState } from "react"
import { getAuth } from "../utils/auth"
const useAuth = () => {
@@ -8,7 +9,7 @@ const useAuth = () => {
handleIsAuthenticated()
}, [])
- return [auth, setAuth]
+ return auth
}
export default useAuth \ No newline at end of file