대시보드, GNB 추가
This commit is contained in:
@@ -23,7 +23,7 @@ export default function LoginPage() {
|
||||
try {
|
||||
const res = await fetch("/api/auth/me");
|
||||
if (!cancelled && res.ok) {
|
||||
router.push("/projects");
|
||||
router.push("/dashboard");
|
||||
}
|
||||
} catch {
|
||||
// ignore
|
||||
@@ -61,8 +61,8 @@ export default function LoginPage() {
|
||||
return;
|
||||
}
|
||||
|
||||
// 성공 시에는 /projects 로 이동한다.
|
||||
router.push("/projects");
|
||||
// 성공 시에는 /dashboard 로 이동한다.
|
||||
router.push("/dashboard");
|
||||
} catch {
|
||||
setError("네트워크 오류가 발생했습니다. 잠시 후 다시 시도해 주세요.");
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user