Skip to content

Commit

Permalink
test: [#76] 카카오 로그인 위한 클라이언트 살리기
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy87828 committed Mar 30, 2023
1 parent b58292c commit eaf7b6b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion FE/front/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function App() {
element: <ThemeList />,
},
{
path: "userInfo",
path: "login",
element: <LoginEmail />,
},
],
Expand Down
8 changes: 4 additions & 4 deletions FE/front/src/component/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ function HomeInsider() {
const [user, setUser] = useState(app.currentUser);

useEffect(() => {
if (user) {
navigate("/notes");
}
}, [user]);
// if (user) {
navigate("/login");
// }
}, []);

return (
<>
Expand Down
4 changes: 2 additions & 2 deletions FE/front/src/component/labelList.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function LabelList() {
};

const goUserInfo = () => {
navigate("/userInfo");
navigate("/login");
};

return (
Expand All @@ -34,7 +34,7 @@ export default function LabelList() {
Notes
</LabelContainer>
<LabelContainer theme={theme} onClick={goUserInfo}>
userInfo
login
</LabelContainer>
{/* <LabelContainer theme={theme} onClick={goTheme}>
Theme
Expand Down

0 comments on commit eaf7b6b

Please sign in to comment.