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 로그인 오류");