feat: Implement authentication flow with token verification and protected routes
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import { setIsLoggedInAtom } from "@/states/Atoms";
|
||||
import { useAtom } from "jotai";
|
||||
|
||||
export const HomePage = () => {
|
||||
const [isLoggedIn] = useAtom(setIsLoggedInAtom);
|
||||
console.log(isLoggedIn);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1>Home Page</h1>
|
||||
|
||||
Reference in New Issue
Block a user