feat: Implement authentication flow with token verification and protected routes

This commit is contained in:
2025-10-24 20:45:37 +02:00
parent b99f52f09a
commit 960e91c38a
4 changed files with 50 additions and 42 deletions

View File

@@ -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>