This commit is contained in:
2025-09-24 15:49:59 -06:00
parent 0b537d1e83
commit e873f031ce
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3,8 +3,8 @@ import { useState } from "react";
import { loginUser } from "@/app/lib/login";
import { useRouter } from "next/navigation";
import "./Login.css";
import AlertBox from "../AlertBox/AlertBox";
import "./Login.css";
function Login() {
const [user, setUser] = useState("");
+1
View File
@@ -6,6 +6,7 @@ export async function GetStudent(numAcount: number) {
const response = await axios.get(
`${envConfig.apiUrl}/student/${numAcount}`
);
return response.data;
} catch (error: any) {
const msg =