auth WIP
This commit is contained in:
11
src/auth/auth.tsx
Normal file
11
src/auth/auth.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
import { useContext } from "react"
|
||||
import AuthContext from "./auth-provider"
|
||||
|
||||
|
||||
function useAuth() {
|
||||
return (
|
||||
useContext(AuthContext)
|
||||
);
|
||||
}
|
||||
|
||||
export default useAuth;
|
||||
Reference in New Issue
Block a user