7 lines
159 B
JavaScript
7 lines
159 B
JavaScript
|
import { useAuth } from "../context/AuthContext";
|
||
|
|
||
|
export function useIsAutheticated() {
|
||
|
const { authState } = useAuth();
|
||
|
return authState.authenticated
|
||
|
}
|