MCPcopy Index your code
hub / github.com/fastapi/full-stack-fastapi-template / isLoggedIn

Function isLoggedIn

frontend/src/hooks/useAuth.ts:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12import useCustomToast from "./useCustomToast"
13
14const isLoggedIn = () => {
15 return localStorage.getItem("access_token") !== null
16}
17
18const useAuth = () => {
19 const navigate = useNavigate()

Callers 6

signup.tsxFile · 0.90
reset-password.tsxFile · 0.90
_layout.tsxFile · 0.90
login.tsxFile · 0.90
useAuthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected