From 63ec1036cd4b4477ff3a20e5f70469b3ba5f6139 Mon Sep 17 00:00:00 2001 From: SEUNGHWA LEE Date: Sat, 3 May 2025 21:25:14 +0900 Subject: [PATCH] =?UTF-8?q?kakao=20redirect=20page=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 5 +++++ src/components/oauth/KakaoRedirectPage.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 3187003..9b02a3a 100755 --- a/src/App.js +++ b/src/App.js @@ -6,6 +6,9 @@ import SignupPage from "./pages/SignupPage"; import VoiceTrainingPage from "./pages/VoiceTrainingPage"; import KeywordSelectionPage from "./pages/KeywordSelectionPage"; import FinalPage from "./pages/FinalPage"; +import HomePage from "./pages/HomePage"; +import ReportsPage from "./pages/ReportsPage"; + function App() { @@ -17,6 +20,8 @@ function App() { } /> } /> } /> + } /> + } /> {/* 카카오 로그인 리다이렉트 경로 추가 */} } /> diff --git a/src/components/oauth/KakaoRedirectPage.js b/src/components/oauth/KakaoRedirectPage.js index dbd76c8..90aa021 100644 --- a/src/components/oauth/KakaoRedirectPage.js +++ b/src/components/oauth/KakaoRedirectPage.js @@ -24,7 +24,7 @@ const KakaoRedirectPage = () => { if (role === "ROLE_FIRST") { navigate("/voice-training"); } else { - navigate("/keywords"); + navigate("/home"); } } else { console.error("OAuth2 로그인 오류");