Checking Authentication Status
Overview
How to Use
const { isAuthenticated } = useJustAuth();
Parameters
Example
const { isAuthenticated } = useJustAuth();
if (isAuthenticated) {
console.log("User is logged in");
} else {
console.log("User is not logged in");
}Last updated