diff --git a/FE/front/src/App.js b/FE/front/src/App.js index 61d2ac1..85e51ad 100644 --- a/FE/front/src/App.js +++ b/FE/front/src/App.js @@ -27,7 +27,7 @@ function App() { element: , }, { - path: "userInfo", + path: "login", element: , }, ], diff --git a/FE/front/src/component/home.js b/FE/front/src/component/home.js index 4ca1744..e59bfa1 100644 --- a/FE/front/src/component/home.js +++ b/FE/front/src/component/home.js @@ -32,10 +32,10 @@ function HomeInsider() { const [user, setUser] = useState(app.currentUser); useEffect(() => { - if (user) { - navigate("/notes"); - } - }, [user]); + // if (user) { + navigate("/login"); + // } + }, []); return ( <> diff --git a/FE/front/src/component/labelList.js b/FE/front/src/component/labelList.js index a0f4640..dbe0bd7 100644 --- a/FE/front/src/component/labelList.js +++ b/FE/front/src/component/labelList.js @@ -22,7 +22,7 @@ export default function LabelList() { }; const goUserInfo = () => { - navigate("/userInfo"); + navigate("/login"); }; return ( @@ -34,7 +34,7 @@ export default function LabelList() { Notes - userInfo + login {/* Theme