1
0
forked from fr/deguapp
deguapp/frontend/app/hooks/useIsAutheticated.js

7 lines
158 B
JavaScript
Raw Normal View History

import { useAuth } from "../context/AuthContext";
export function useIsAutheticated() {
const { authState } = useAuth();
return authState.authenticated;
}