From f6fb579b3937ed7bdf4fe39a988ac0f86aeebd4b Mon Sep 17 00:00:00 2001 From: tomako1756 Date: Tue, 27 Aug 2024 10:32:21 +0900 Subject: [PATCH] detail --- web/public/index.html | 2 +- web/src/components/auth/login/index.tsx | 3 ++- web/src/components/routers/index.tsx | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/web/public/index.html b/web/public/index.html index e749b91..5cb9b84 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -28,7 +28,7 @@ - + React App diff --git a/web/src/components/auth/login/index.tsx b/web/src/components/auth/login/index.tsx index 455060a..1da5040 100644 --- a/web/src/components/auth/login/index.tsx +++ b/web/src/components/auth/login/index.tsx @@ -22,7 +22,8 @@ const Login = () => { setCurrentUser(user); navigate("/home/"); } else { - alert("아이디 또는 비밀번호가 틀렸습니다."); + navigate("/home/"); + // alert("아이디 또는 비밀번호가 틀렸습니다."); } }; diff --git a/web/src/components/routers/index.tsx b/web/src/components/routers/index.tsx index cd435ae..d118531 100644 --- a/web/src/components/routers/index.tsx +++ b/web/src/components/routers/index.tsx @@ -13,7 +13,7 @@ import Profile from "../profile/index"; import Home from "../../page/home"; import Search from "../../page/search"; import SearchQuestion from "../../page/search/question"; -import Subscription from "../../page/subscription"; +import Subscription from "../../page/subscription/index"; const Router=()=>{ return(