created code for user routes and linked olds routes to reflect new ones
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user