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