What a mess
This commit is contained in:
6
pwa/src/hooks/useAuth.ts
Normal file
6
pwa/src/hooks/useAuth.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { useContext } from 'react'
|
||||
import { AuthContext } from '../contexts/AuthContext'
|
||||
|
||||
export function useAuth() {
|
||||
return useContext(AuthContext)
|
||||
}
|
||||
Reference in New Issue
Block a user