diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-20 17:03:28 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-20 17:03:28 +0700 |
| commit | ed950b23d50f9b3993cfd2ac2386a5b3a68d5e57 (patch) | |
| tree | 0094beddcb6df11a3bc5347759caf4cf7aeada59 /src/core/hooks/useAuth.js | |
| parent | e33a330786ffbfcd774de00dc697c6dff47faf27 (diff) | |
fix
Diffstat (limited to 'src/core/hooks/useAuth.js')
| -rw-r--r-- | src/core/hooks/useAuth.js | 3 |
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 |
