Initial commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
NODE_OPTIONS='--inspect' npx next dev
|
||||
@@ -14,7 +14,7 @@ function LoginPage() {
|
||||
const formData = new FormData(e.target as HTMLFormElement);
|
||||
const userId = formData.get("id") as string;
|
||||
const password = formData.get("password") as string;
|
||||
|
||||
console.log(userId, password);
|
||||
await LoginApi.login({ userId, password });
|
||||
router.push("/site");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user