created code for user routes and linked olds routes to reflect new ones

This commit is contained in:
JustIceO7
2025-01-24 05:11:03 +00:00
parent 52f977e885
commit ca2a7e9baf
5 changed files with 39 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ const HomePage: React.FC = () => {
// ↓↓ runs twice when in development mode
useEffect(() => {
fetch("/api/get_loggedin_status")
fetch("/api/get_login_status")
.then((response) => response.json())
.then((data) => {
setLoggedInStatus(data);