merge
This commit is contained in:
@@ -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("");
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user