Changeset 67dfe57 for components
- Timestamp:
- 12/24/25 17:31:11 (7 months ago)
- Branches:
- main
- Children:
- e729b88
- Parents:
- 40ac7a9
- File:
-
- 1 edited
-
components/Navbar.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
components/Navbar.tsx
r40ac7a9 r67dfe57 7 7 import Box from "@mui/material/Box"; 8 8 import { styled } from "@mui/material/styles"; 9 import { fetchAuthState } from "../pages/auth/authState.telefunc";10 9 import LogoUrl from '../assets/projectlogo.png'; 10 import {onGetAuthState} from "../pages/+Layout.telefunc"; 11 11 12 12 … … 25 25 useEffect(() => { 26 26 let active = true; 27 fetchAuthState()27 onGetAuthState() 28 28 .then((data) => active && setAuth({ isLoggedIn: data.isLoggedIn, username: data.username })) 29 29 .catch(() => active && setAuth({ isLoggedIn: false, username: null }));
Note:
See TracChangeset
for help on using the changeset viewer.
