FIX: Fixed route names to match backend changes to display recommendations
This commit is contained in:
@@ -14,7 +14,7 @@ function App() {
|
||||
const [username, setUsername] = useState<string | null>(null);
|
||||
|
||||
useEffect(() => {
|
||||
fetch("/api/get_login_status")
|
||||
fetch("/api/user/login_status")
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
setIsLoggedIn(data.status);
|
||||
|
||||
Reference in New Issue
Block a user