iipbs_cs #14

Merged
chanii8 merged 18 commits from iipbs_cs into main 2025-04-02 17:35:45 +09:00
Showing only changes of commit 623b1e985e - Show all commits
@@ -1,13 +1,11 @@
"use client";
import Image from "next/image";
import { useRouter } from "next/navigation";
import { images } from "@common/assets";
import { LoginApi } from "@/entities/auth";
import "./login.css";
function LoginPage() {
const router = useRouter();
const handleSubmit = async (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
@@ -16,7 +14,7 @@ function LoginPage() {
const password = formData.get("password") as string;
await LoginApi.login({ userId, password });
router.push("/site");
window.location.href = "/dashboard";
};
return (